#314A8D#314A8D

#314A8D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.115 H 266.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#314A8D
RGBrgb(49, 74, 141)
HSLhsl(224, 48%, 37%)
HSVhsv(224, 65%, 55%)
CMYKcmyk(65.2%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.86, 13.18, -40.14)
CIE-LCHlch(32.86, 42.25, 288.18°)
OKLaboklab(42.58% -0.0075 -0.1147)
OKLCHoklch(42.58% 0.115 266.2)
XYZxyz(8.5215, 7.4728, 26.1875)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A8D #8D7431
analogous
#31788D #314A8D #46318D
triadic
#314A8D #8D314A #4A8D31
tetradic
#314A8D #8D3178 #8D7431 #318D46
square
#314A8D #8D3178 #8D7431 #318D46
split-complementary
#314A8D #8D4631 #788D31
monochromatic
#111A32 #213260 #314A8D #4162BA #6C86CC

Accessibility & contrast

On white

8.42
#314A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#314A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A8D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A8D#FFFFFF#000000##FFFFFF
##314A8D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#19498C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314a8d;
/* rgb */ color: rgb(49, 74, 141);
/* oklch */ color: oklch(42.6% 0.115 266.2);
Tailwind
colors: {
  custom: {
    50: '#737caf',
    500: '#314a8d',
    950: '#000000',
  },
}
SCSS
$custom: #314a8d;
$custom-light: #737caf;
$custom-dark: #000000;
JSON
{
  "hex": "#314a8d",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 223.696,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.11498,
    "h": 266.2
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#314A8D
secondary
#B49F66
accent
#B350D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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