#314B8A#314B8A

#314B8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.109 H 265.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#314B8A
RGBrgb(49, 75, 138)
HSLhsl(222, 48%, 37%)
HSVhsv(222, 64%, 54%)
CMYKcmyk(64.5%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.96, 11.40, -38.13)
CIE-LCHlch(32.96, 39.80, 286.64°)
OKLaboklab(42.6% -0.0091 -0.1088)
OKLCHoklch(42.6% 0.109 265.2)
XYZxyz(8.3686, 7.5194, 25.0502)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B8A #8A7031
analogous
#31788A #314B8A #44318A
triadic
#314B8A #8A314B #4B8A31
tetradic
#314B8A #8A3178 #8A7031 #318A44
square
#314B8A #8A3178 #8A7031 #318A44
split-complementary
#314B8A #8A4431 #788A31
monochromatic
#111A30 #21325D #314B8A #4164B7 #6B87CA

Accessibility & contrast

On white

8.39
#314B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#314B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B8A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B8A#FFFFFF#000000##FFFFFF
##314B8A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314b8a;
/* rgb */ color: rgb(49, 75, 138);
/* oklch */ color: oklch(42.6% 0.109 265.2);
Tailwind
colors: {
  custom: {
    50: '#727cac',
    500: '#314b8a',
    950: '#000000',
  },
}
SCSS
$custom: #314b8a;
$custom-light: #727cac;
$custom-dark: #000000;
JSON
{
  "hex": "#314b8a",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 222.472,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.426,
    "c": 0.10921,
    "h": 265.2
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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