#314B99#314B99

#314B99 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.131 H 267.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#314B99
RGBrgb(49, 75, 153)
HSLhsl(225, 51%, 40%)
HSVhsv(225, 68%, 60%)
CMYKcmyk(68%, 51%, 0%, 40%)
CIE-LABlab(33.95, 16.99, -45.69)
CIE-LCHlch(33.95, 48.75, 290.40°)
OKLaboklab(43.67% -0.0069 -0.1311)
OKLCHoklch(43.67% 0.131 267)
XYZxyz(9.5305, 7.9841, 31.1696)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B99 #997F31
analogous
#317F99 #314B99 #4B3199
triadic
#314B99 #99314B #4B9931
tetradic
#314B99 #99317F #997F31 #31994B
square
#314B99 #99317F #997F31 #31994B
split-complementary
#314B99 #994B31 #7F9931
monochromatic
#131E3C #22346B #314B99 #4464C3 #728AD2

Accessibility & contrast

On white

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

On black

2.60
#314B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##314B99#FFFFFF#000000##FFFFFF
##314B991.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314b99;
/* rgb */ color: rgb(49, 75, 153);
/* oklch */ color: oklch(43.7% 0.131 267.0);
Tailwind
colors: {
  custom: {
    50: '#757cb8',
    500: '#314b99',
    950: '#000000',
  },
}
SCSS
$custom: #314b99;
$custom-light: #757cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#314b99",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 225,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.13124,
    "h": 267
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#314B99
secondary
#BAA66C
accent
#B74DDB
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314B99

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

Preview Lab → · Contrast checker → · Palette generator →

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