#314989#314989

#314989 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.110 H 266.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#314989
RGBrgb(49, 73, 137)
HSLhsl(224, 47%, 36%)
HSVhsv(224, 64%, 54%)
CMYKcmyk(64.2%, 46.7%, 0%, 46.3%)
CIE-LABlab(32.31, 12.37, -38.56)
CIE-LCHlch(32.31, 40.50, 287.78°)
OKLaboklab(42.08% -0.0071 -0.1101)
OKLCHoklch(42.08% 0.11 266.3)
XYZxyz(8.1630, 7.2235, 24.6262)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314989 #897131
analogous
#317589 #314989 #453189
triadic
#314989 #893149 #498931
tetradic
#314989 #893175 #897131 #318945
square
#314989 #893175 #897131 #318945
split-complementary
#314989 #894531 #758931
monochromatic
#11192F #21315C #314989 #4161B6 #6B85CA

Accessibility & contrast

On white

8.59
#314989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#314989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314989
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314989#FFFFFF#000000##FFFFFF
##3149891.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314989;
/* rgb */ color: rgb(49, 73, 137);
/* oklch */ color: oklch(42.1% 0.110 266.3);
Tailwind
colors: {
  custom: {
    50: '#727bac',
    500: '#314989',
    950: '#000000',
  },
}
SCSS
$custom: #314989;
$custom-light: #727bac;
$custom-dark: #000000;
JSON
{
  "hex": "#314989",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 223.636,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.11034,
    "h": 266.3
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#314989
secondary
#B19C64
accent
#B251D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314989

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

Preview Lab → · Contrast checker → · Palette generator →

#314989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva