#314B87#314B87

#314B87 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.105 H 264.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#314B87
RGBrgb(49, 75, 135)
HSLhsl(222, 47%, 36%)
HSVhsv(222, 64%, 53%)
CMYKcmyk(63.7%, 44.4%, 0%, 47.1%)
CIE-LABlab(32.77, 10.29, -36.59)
CIE-LCHlch(32.77, 38.01, 285.71°)
OKLaboklab(42.4% -0.0097 -0.1043)
OKLCHoklch(42.4% 0.105 264.7)
XYZxyz(8.1544, 7.4337, 23.9221)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B87 #876D31
analogous
#317687 #314B87 #423187
triadic
#314B87 #87314B #4B8731
tetradic
#314B87 #873176 #876D31 #318742
square
#314B87 #873176 #876D31 #318742
split-complementary
#314B87 #874231 #768731
monochromatic
#10192D #21325A #314B87 #4164B4 #6A86C9

Accessibility & contrast

On white

8.44
#314B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#314B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B87
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B87#FFFFFF#000000##FFFFFF
##314B871.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#234986
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314b87;
/* rgb */ color: rgb(49, 75, 135);
/* oklch */ color: oklch(42.4% 0.105 264.7);
Tailwind
colors: {
  custom: {
    50: '#727caa',
    500: '#314b87',
    950: '#000000',
  },
}
SCSS
$custom: #314b87;
$custom-light: #727caa;
$custom-dark: #000000;
JSON
{
  "hex": "#314b87",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 221.86,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.10474,
    "h": 264.7
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#314B87
secondary
#B09964
accent
#AE51D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314B87

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

Preview Lab → · Contrast checker → · Palette generator →

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