#3134B2#3134B2

#3134B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.193 H 273.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3134B2
RGBrgb(49, 52, 178)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 72%, 70%)
CMYKcmyk(72.5%, 70.8%, 0%, 30.2%)
CIE-LABlab(30.21, 40.94, -66.80)
CIE-LCHlch(30.21, 78.35, 301.50°)
OKLaboklab(41.55% 0.0105 -0.1932)
OKLCHoklch(41.55% 0.193 273.1)
XYZxyz(10.5278, 6.3223, 42.7763)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B2 #B2AF31
analogous
#3174B2 #3134B2 #6F31B2
triadic
#3134B2 #B23134 #34B231
tetradic
#3134B2 #B23174 #B2AF31 #31B26F
square
#3134B2 #B23174 #B2AF31 #31B26F
split-complementary
#3134B2 #B26F31 #74B231
monochromatic
#171852 #242682 #3134B2 #5154CF #8183DC

Accessibility & contrast

On white

9.27
#3134B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3134B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134B2
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B2#FFFFFF#000000##FFFFFF
##3134B21.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3134b2;
/* rgb */ color: rgb(49, 52, 178);
/* oklch */ color: oklch(41.5% 0.193 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d6cca',
    500: '#3134b2',
    950: '#000000',
  },
}
SCSS
$custom: #3134b2;
$custom-light: #7d6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b2",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 238.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.19349,
    "h": 273.1
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#3134B2
secondary
#C5C479
accent
#DD48E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3134B2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3134B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva