#314BB9#314BB9

#314BB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.176 H 268.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#314BB9
RGBrgb(49, 75, 185)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 74%, 73%)
CMYKcmyk(73.5%, 59.5%, 0%, 27.5%)
CIE-LABlab(36.34, 28.91, -60.91)
CIE-LCHlch(36.34, 67.42, 295.39°)
OKLaboklab(46.23% -0.0049 -0.1758)
OKLCHoklch(46.23% 0.176 268.4)
XYZxyz(12.5366, 9.1866, 47.0020)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314BB9 #B99F31
analogous
#318FB9 #314BB9 #5B31B9
triadic
#314BB9 #B9314B #4BB931
tetradic
#314BB9 #B9318F #B99F31 #31B95B
square
#314BB9 #B9318F #B99F31 #31B95B
split-complementary
#314BB9 #B95B31 #8FB931
monochromatic
#172458 #243789 #314BB9 #556DD2 #8697DF

Accessibility & contrast

On white

7.40
#314BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#314BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314BB9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314BB9#FFFFFF#000000##FFFFFF
##314BB91.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #314bb9;
/* rgb */ color: rgb(49, 75, 185);
/* oklch */ color: oklch(46.2% 0.176 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c7dcf',
    500: '#314bb9',
    950: '#000000',
  },
}
SCSS
$custom: #314bb9;
$custom-light: #7c7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#314bb9",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 228.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.17588,
    "h": 268.4
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#314BB9
secondary
#C8BA7D
accent
#C446E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #314BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#314BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva