#314C8A#314C8A

#314C8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.108 H 264.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#314C8A
RGBrgb(49, 76, 138)
HSLhsl(222, 48%, 37%)
HSVhsv(222, 64%, 54%)
CMYKcmyk(64.5%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.26, 10.73, -37.66)
CIE-LCHlch(33.26, 39.16, 285.90°)
OKLaboklab(42.83% -0.0102 -0.1074)
OKLCHoklch(42.83% 0.108 264.6)
XYZxyz(8.4369, 7.6561, 25.0730)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C8A #8A6F31
analogous
#31798A #314C8A #43318A
triadic
#314C8A #8A314C #4C8A31
tetradic
#314C8A #8A3179 #8A6F31 #318A43
square
#314C8A #8A3179 #8A6F31 #318A43
split-complementary
#314C8A #8A4331 #798A31
monochromatic
#111A30 #21335D #314C8A #4165B7 #6B88CA

Accessibility & contrast

On white

8.30
#314C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#314C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C8A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C8A#FFFFFF#000000##FFFFFF
##314C8A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538C
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314c8a;
/* rgb */ color: rgb(49, 76, 138);
/* oklch */ color: oklch(42.8% 0.108 264.6);
Tailwind
colors: {
  custom: {
    50: '#727dac',
    500: '#314c8a',
    950: '#000000',
  },
}
SCSS
$custom: #314c8a;
$custom-light: #727dac;
$custom-dark: #000000;
JSON
{
  "hex": "#314c8a",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 221.798,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.10791,
    "h": 264.6
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#314C8A
secondary
#B29B65
accent
#AE51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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