#314B7A#314B7A

#314B7A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.085 H 261.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#314B7A
RGBrgb(49, 75, 122)
HSLhsl(219, 43%, 34%)
HSVhsv(219, 60%, 48%)
CMYKcmyk(59.8%, 38.5%, 0%, 52.2%)
CIE-LABlab(32.01, 5.54, -29.75)
CIE-LCHlch(32.01, 30.26, 280.55°)
OKLaboklab(41.56% -0.0126 -0.0843)
OKLCHoklch(41.56% 0.085 261.5)
XYZxyz(7.2943, 7.0897, 19.3926)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B7A #7A6031
analogous
#316F7A #314B7A #3B317A
triadic
#314B7A #7A314B #4B7A31
tetradic
#314B7A #7A316F #7A6031 #317A3B
square
#314B7A #7A316F #7A6031 #317A3B
split-complementary
#314B7A #7A3B31 #6F7A31
monochromatic
#0E1523 #1F304E #314B7A #4366A6 #6485C1

Accessibility & contrast

On white

8.68
#314B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B7A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B7A#FFFFFF#000000##FFFFFF
##314B7A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314b7a;
/* rgb */ color: rgb(49, 75, 122);
/* oklch */ color: oklch(41.6% 0.085 261.5);
Tailwind
colors: {
  custom: {
    50: '#6f7da0',
    500: '#314b7a',
    950: '#000000',
  },
}
SCSS
$custom: #314b7a;
$custom-light: #6f7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#314b7a",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 122
  },
  "hsl": {
    "h": 218.63,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.0852,
    "h": 261.5
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#314B7A
secondary
#A88E5E
accent
#A655D2
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #314B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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