#314B97#314B97

#314B97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.128 H 266.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#314B97
RGBrgb(49, 75, 151)
HSLhsl(225, 51%, 39%)
HSVhsv(225, 68%, 59%)
CMYKcmyk(67.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(33.81, 16.24, -44.70)
CIE-LCHlch(33.81, 47.56, 289.97°)
OKLaboklab(43.53% -0.0071 -0.1281)
OKLCHoklch(43.53% 0.128 266.8)
XYZxyz(9.3667, 7.9186, 30.3070)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B97 #977D31
analogous
#317E97 #314B97 #4A3197
triadic
#314B97 #97314B #4B9731
tetradic
#314B97 #97317E #977D31 #31974A
square
#314B97 #97317E #977D31 #31974A
split-complementary
#314B97 #974A31 #7E9731
monochromatic
#131D3B #223469 #314B97 #4364C2 #718AD1

Accessibility & contrast

On white

8.13
#314B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#314B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B97
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B97#FFFFFF#000000##FFFFFF
##314B971.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#044B95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314b97;
/* rgb */ color: rgb(49, 75, 151);
/* oklch */ color: oklch(43.5% 0.128 266.8);
Tailwind
colors: {
  custom: {
    50: '#757cb6',
    500: '#314b97',
    950: '#000000',
  },
}
SCSS
$custom: #314b97;
$custom-light: #757cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#314b97",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 224.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.12834,
    "h": 266.8
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#314B97
secondary
#B9A56B
accent
#B64DDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314B97

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

Preview Lab → · Contrast checker → · Palette generator →

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