#314387#314387

#314387 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.115 H 269.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#314387
RGBrgb(49, 67, 135)
HSLhsl(227, 47%, 36%)
HSVhsv(227, 64%, 53%)
CMYKcmyk(63.7%, 50.4%, 0%, 47.1%)
CIE-LABlab(30.44, 15.67, -40.33)
CIE-LCHlch(30.44, 43.27, 291.24°)
OKLaboklab(40.61% -0.0009 -0.1154)
OKLCHoklch(40.61% 0.115 269.5)
XYZxyz(7.6455, 6.4159, 23.7525)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314387 #877531
analogous
#316E87 #314387 #4A3187
triadic
#314387 #873143 #438731
tetradic
#314387 #87316E #877531 #31874A
square
#314387 #87316E #877531 #31874A
split-complementary
#314387 #874A31 #6E8731
monochromatic
#10162D #212D5A #314387 #4159B4 #6A7EC9

Accessibility & contrast

On white

9.20
#314387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#314387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314387
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314387#FFFFFF#000000##FFFFFF
##3143871.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314387;
/* rgb */ color: rgb(49, 67, 135);
/* oklch */ color: oklch(40.6% 0.115 269.5);
Tailwind
colors: {
  custom: {
    50: '#7276aa',
    500: '#314387',
    950: '#000000',
  },
}
SCSS
$custom: #314387;
$custom-light: #7276aa;
$custom-dark: #000000;
JSON
{
  "hex": "#314387",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 227.442,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.1154,
    "h": 269.5
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#314387
secondary
#B0A064
accent
#BB51D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314387

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

Preview Lab → · Contrast checker → · Palette generator →

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