#314B94#314B94

#314B94 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.124 H 266.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#314B94
RGBrgb(49, 75, 148)
HSLhsl(224, 50%, 39%)
HSVhsv(224, 67%, 58%)
CMYKcmyk(66.9%, 49.3%, 0%, 42%)
CIE-LABlab(33.61, 15.12, -43.20)
CIE-LCHlch(33.61, 45.77, 289.29°)
OKLaboklab(43.31% -0.0075 -0.1237)
OKLCHoklch(43.31% 0.124 266.5)
XYZxyz(9.1261, 7.8224, 29.0402)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B94 #947A31
analogous
#317C94 #314B94 #483194
triadic
#314B94 #94314B #4B9431
tetradic
#314B94 #94317C #947A31 #319448
square
#314B94 #94317C #947A31 #319448
split-complementary
#314B94 #944831 #7C9431
monochromatic
#131C38 #223466 #314B94 #4263C0 #7089D0

Accessibility & contrast

On white

8.19
#314B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#314B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B94
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B94#FFFFFF#000000##FFFFFF
##314B941.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#0E4B92
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314b94;
/* rgb */ color: rgb(49, 75, 148);
/* oklch */ color: oklch(43.3% 0.124 266.5);
Tailwind
colors: {
  custom: {
    50: '#747cb4',
    500: '#314b94',
    950: '#000000',
  },
}
SCSS
$custom: #314b94;
$custom-light: #747cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#314b94",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 224.242,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.12397,
    "h": 266.5
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#314B94
secondary
#B7A369
accent
#B54EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314B94

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

Preview Lab → · Contrast checker → · Palette generator →

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