#314B76#314B76

#314B76 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.3% C 0.079 H 260.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#314B76
RGBrgb(49, 75, 118)
HSLhsl(217, 41%, 33%)
HSVhsv(217, 58%, 46%)
CMYKcmyk(58.5%, 36.4%, 0%, 53.7%)
CIE-LABlab(31.79, 4.11, -27.60)
CIE-LCHlch(31.79, 27.90, 278.46°)
OKLaboklab(41.31% -0.0137 -0.078)
OKLCHoklch(41.31% 0.079 260)
XYZxyz(7.0516, 6.9926, 18.1141)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B76 #765C31
analogous
#316D76 #314B76 #393176
triadic
#314B76 #76314B #4B7631
tetradic
#314B76 #76316D #765C31 #317639
square
#314B76 #76316D #765C31 #317639
split-complementary
#314B76 #763931 #6D7631
monochromatic
#0D1420 #1F304B #314B76 #4366A1 #6385BE

Accessibility & contrast

On white

8.76
#314B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#314B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B76
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B76#FFFFFF#000000##FFFFFF
##314B761.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E78
Deuteranopia (green-blind)
#314875
Tritanopia (blue-blind)
#03555B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314b76;
/* rgb */ color: rgb(49, 75, 118);
/* oklch */ color: oklch(41.3% 0.079 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7d9d',
    500: '#314b76',
    950: '#000000',
  },
}
SCSS
$custom: #314b76;
$custom-light: #6f7d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#314b76",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 118
  },
  "hsl": {
    "h": 217.391,
    "s": 41.317,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.07919,
    "h": 260
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#314B76
secondary
#A68A5D
accent
#A357D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314B76

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

Preview Lab → · Contrast checker → · Palette generator →

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