#314B80#314B80

#314B80 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.094 H 263.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#314B80
RGBrgb(49, 75, 128)
HSLhsl(220, 45%, 35%)
HSVhsv(220, 62%, 50%)
CMYKcmyk(61.7%, 41.4%, 0%, 49.8%)
CIE-LABlab(32.35, 7.72, -32.93)
CIE-LCHlch(32.35, 33.83, 283.19°)
OKLaboklab(41.94% -0.0112 -0.0936)
OKLCHoklch(41.94% 0.094 263.2)
XYZxyz(7.6776, 7.2430, 21.4113)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B80 #806631
analogous
#317380 #314B80 #3E3180
triadic
#314B80 #80314B #4B8031
tetradic
#314B80 #803173 #806631 #31803E
square
#314B80 #803173 #806631 #31803E
split-complementary
#314B80 #803E31 #738031
monochromatic
#0F1727 #203154 #314B80 #4265AC #6786C5

Accessibility & contrast

On white

8.58
#314B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#314B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B80
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B80#FFFFFF#000000##FFFFFF
##314B801.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345082
Deuteranopia (green-blind)
#29497F
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314b80;
/* rgb */ color: rgb(49, 75, 128);
/* oklch */ color: oklch(41.9% 0.094 263.2);
Tailwind
colors: {
  custom: {
    50: '#707ca5',
    500: '#314b80',
    950: '#000000',
  },
}
SCSS
$custom: #314b80;
$custom-light: #707ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#314b80",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 128
  },
  "hsl": {
    "h": 220.253,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.09425,
    "h": 263.2
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#314B80
secondary
#AC9361
accent
#AA53D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314B80

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

Preview Lab → · Contrast checker → · Palette generator →

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