#314B79#314B79

#314B79 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.5% C 0.084 H 261.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#314B79
RGBrgb(49, 75, 121)
HSLhsl(218, 42%, 33%)
HSVhsv(218, 60%, 47%)
CMYKcmyk(59.5%, 38%, 0%, 52.5%)
CIE-LABlab(31.95, 5.18, -29.22)
CIE-LCHlch(31.95, 29.67, 280.05°)
OKLaboklab(41.5% -0.0129 -0.0827)
OKLCHoklch(41.5% 0.084 261.1)
XYZxyz(7.2327, 7.0650, 19.0680)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B79 #795F31
analogous
#316F79 #314B79 #3B3179
triadic
#314B79 #79314B #4B7931
tetradic
#314B79 #79316F #795F31 #31793B
square
#314B79 #79316F #795F31 #31793B
split-complementary
#314B79 #793B31 #6F7931
monochromatic
#0E1522 #1F304D #314B79 #4366A5 #6485C0

Accessibility & contrast

On white

8.70
#314B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#314B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B79
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B79#FFFFFF#000000##FFFFFF
##314B791.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314b79;
/* rgb */ color: rgb(49, 75, 121);
/* oklch */ color: oklch(41.5% 0.084 261.1);
Tailwind
colors: {
  custom: {
    50: '#6f7da0',
    500: '#314b79',
    950: '#000000',
  },
}
SCSS
$custom: #314b79;
$custom-light: #6f7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#314b79",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 218.333,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.0837,
    "h": 261.1
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#314B79
secondary
#A88D5E
accent
#A556D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #314B79

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

Preview Lab → · Contrast checker → · Palette generator →

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