#314C88#314C88

#314C88 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.105 H 264.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#314C88
RGBrgb(49, 76, 136)
HSLhsl(221, 47%, 36%)
HSVhsv(221, 64%, 53%)
CMYKcmyk(64%, 44.1%, 0%, 46.7%)
CIE-LABlab(33.13, 9.99, -36.63)
CIE-LCHlch(33.13, 37.97, 285.26°)
OKLaboklab(42.69% -0.0106 -0.1044)
OKLCHoklch(42.69% 0.105 264.2)
XYZxyz(8.2935, 7.5987, 24.3174)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C88 #886D31
analogous
#317888 #314C88 #423188
triadic
#314C88 #88314C #4C8831
tetradic
#314C88 #883178 #886D31 #318842
square
#314C88 #883178 #886D31 #318842
split-complementary
#314C88 #884231 #788831
monochromatic
#111A2E #21335B #314C88 #4165B5 #6A88C9

Accessibility & contrast

On white

8.33
#314C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#314C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C88
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C88#FFFFFF#000000##FFFFFF
##314C881.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314c88;
/* rgb */ color: rgb(49, 76, 136);
/* oklch */ color: oklch(42.7% 0.105 264.2);
Tailwind
colors: {
  custom: {
    50: '#727dab',
    500: '#314c88',
    950: '#000000',
  },
}
SCSS
$custom: #314c88;
$custom-light: #727dab;
$custom-dark: #000000;
JSON
{
  "hex": "#314c88",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 136
  },
  "hsl": {
    "h": 221.379,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.10495,
    "h": 264.2
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#314C88
secondary
#B19964
accent
#AD51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314C88

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

Preview Lab → · Contrast checker → · Palette generator →

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