#314D90#314D90

#314D90 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.116 H 264.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#314D90
RGBrgb(49, 77, 144)
HSLhsl(222, 49%, 38%)
HSVhsv(222, 66%, 56%)
CMYKcmyk(66%, 46.5%, 0%, 43.5%)
CIE-LABlab(33.93, 12.29, -40.26)
CIE-LCHlch(33.93, 42.09, 286.98°)
OKLaboklab(43.46% -0.0102 -0.115)
OKLCHoklch(43.46% 0.116 264.9)
XYZxyz(8.9528, 7.9735, 27.4474)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D90 #907431
analogous
#317C90 #314D90 #443190
triadic
#314D90 #90314D #4D9031
tetradic
#314D90 #90317C #907431 #319044
square
#314D90 #90317C #907431 #319044
split-complementary
#314D90 #904431 #7C9031
monochromatic
#121C35 #213562 #314D90 #4165BE #6E8ACE

Accessibility & contrast

On white

8.09
#314D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#314D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D90
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D90#FFFFFF#000000##FFFFFF
##314D901.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#1C4C8F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314d90;
/* rgb */ color: rgb(49, 77, 144);
/* oklch */ color: oklch(43.5% 0.116 264.9);
Tailwind
colors: {
  custom: {
    50: '#737eb1',
    500: '#314d90',
    950: '#000000',
  },
}
SCSS
$custom: #314d90;
$custom-light: #737eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#314d90",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 144
  },
  "hsl": {
    "h": 222.316,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.1155,
    "h": 264.9
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#314D90
secondary
#B59E68
accent
#B04FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314D90

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

Preview Lab → · Contrast checker → · Palette generator →

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