#314B95#314B95

#314B95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.125 H 266.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#314B95
RGBrgb(49, 75, 149)
HSLhsl(224, 51%, 39%)
HSVhsv(224, 67%, 58%)
CMYKcmyk(67.1%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.68, 15.49, -43.70)
CIE-LCHlch(33.68, 46.37, 289.52°)
OKLaboklab(43.38% -0.0074 -0.1252)
OKLCHoklch(43.38% 0.125 266.6)
XYZxyz(9.2056, 7.8542, 29.4588)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B95 #957B31
analogous
#317D95 #314B95 #493195
triadic
#314B95 #95314B #4B9531
tetradic
#314B95 #95317D #957B31 #319549
square
#314B95 #95317D #957B31 #319549
split-complementary
#314B95 #954931 #7D9531
monochromatic
#131D39 #223467 #314B95 #4263C1 #7089D0

Accessibility & contrast

On white

8.17
#314B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#314B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B95
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B95#FFFFFF#000000##FFFFFF
##314B951.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#0B4B93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314b95;
/* rgb */ color: rgb(49, 75, 149);
/* oklch */ color: oklch(43.4% 0.125 266.6);
Tailwind
colors: {
  custom: {
    50: '#747cb5',
    500: '#314b95',
    950: '#000000',
  },
}
SCSS
$custom: #314b95;
$custom-light: #747cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#314b95",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 224.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.12543,
    "h": 266.6
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#314B95
secondary
#B8A46A
accent
#B64EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314B95

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

Preview Lab → · Contrast checker → · Palette generator →

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