#314C8E#314C8E

#314C8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.114 H 265.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#314C8E
RGBrgb(49, 76, 142)
HSLhsl(223, 49%, 37%)
HSVhsv(223, 65%, 56%)
CMYKcmyk(65.5%, 46.5%, 0%, 44.3%)
CIE-LABlab(33.51, 12.22, -39.71)
CIE-LCHlch(33.51, 41.55, 287.10°)
OKLaboklab(43.1% -0.0095 -0.1134)
OKLCHoklch(43.1% 0.114 265.2)
XYZxyz(8.7319, 7.7740, 26.6263)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C8E #8E7331
analogous
#317A8E #314C8E #45318E
triadic
#314C8E #8E314C #4C8E31
tetradic
#314C8E #8E317A #8E7331 #318E45
square
#314C8E #8E317A #8E7331 #318E45
split-complementary
#314C8E #8E4531 #7A8E31
monochromatic
#121B33 #213461 #314C8E #4164BB #6D89CD

Accessibility & contrast

On white

8.22
#314C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#314C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C8E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C8E#FFFFFF#000000##FFFFFF
##314C8E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314c8e;
/* rgb */ color: rgb(49, 76, 142);
/* oklch */ color: oklch(43.1% 0.114 265.2);
Tailwind
colors: {
  custom: {
    50: '#737daf',
    500: '#314c8e',
    950: '#000000',
  },
}
SCSS
$custom: #314c8e;
$custom-light: #737daf;
$custom-dark: #000000;
JSON
{
  "hex": "#314c8e",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 222.581,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43101,
    "c": 0.11385,
    "h": 265.2
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#314C8E
secondary
#B49E67
accent
#B150D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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