#314B78#314B78

#314B78 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.082 H 260.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#314B78
RGBrgb(49, 75, 120)
HSLhsl(218, 42%, 33%)
HSVhsv(218, 59%, 47%)
CMYKcmyk(59.2%, 37.5%, 0%, 52.9%)
CIE-LABlab(31.90, 4.82, -28.68)
CIE-LCHlch(31.90, 29.08, 279.54°)
OKLaboklab(41.44% -0.0132 -0.0811)
OKLCHoklch(41.44% 0.082 260.8)
XYZxyz(7.1717, 7.0406, 18.7467)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B78 #785E31
analogous
#316E78 #314B78 #3A3178
triadic
#314B78 #78314B #4B7831
tetradic
#314B78 #78316E #785E31 #31783A
square
#314B78 #78316E #785E31 #31783A
split-complementary
#314B78 #783A31 #6E7831
monochromatic
#0E1521 #1F304D #314B78 #4366A3 #6485C0

Accessibility & contrast

On white

8.72
#314B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#314B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B78
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B78#FFFFFF#000000##FFFFFF
##314B781.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#304877
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314b78;
/* rgb */ color: rgb(49, 75, 120);
/* oklch */ color: oklch(41.4% 0.082 260.8);
Tailwind
colors: {
  custom: {
    50: '#6f7d9f',
    500: '#314b78',
    950: '#000000',
  },
}
SCSS
$custom: #314b78;
$custom-light: #6f7d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#314b78",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 120
  },
  "hsl": {
    "h": 218.028,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.08219,
    "h": 260.8
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#314B78
secondary
#A78C5E
accent
#A456D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314B78

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

Preview Lab → · Contrast checker → · Palette generator →

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