#314B8B#314B8B

#314B8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.111 H 265.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#314B8B
RGBrgb(49, 75, 139)
HSLhsl(223, 48%, 37%)
HSVhsv(223, 65%, 55%)
CMYKcmyk(64.7%, 46%, 0%, 45.5%)
CIE-LABlab(33.02, 11.77, -38.65)
CIE-LCHlch(33.02, 40.40, 286.94°)
OKLaboklab(42.67% -0.0089 -0.1103)
OKLCHoklch(42.67% 0.111 265.4)
XYZxyz(8.4413, 7.5484, 25.4332)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B8B #8B7131
analogous
#31788B #314B8B #44318B
triadic
#314B8B #8B314B #4B8B31
tetradic
#314B8B #8B3178 #8B7131 #318B44
square
#314B8B #8B3178 #8B7131 #318B44
split-complementary
#314B8B #8B4431 #788B31
monochromatic
#111A31 #21335E #314B8B #4163B8 #6B87CB

Accessibility & contrast

On white

8.37
#314B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#314B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B8B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B8B#FFFFFF#000000##FFFFFF
##314B8B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314b8b;
/* rgb */ color: rgb(49, 75, 139);
/* oklch */ color: oklch(42.7% 0.111 265.4);
Tailwind
colors: {
  custom: {
    50: '#727cad',
    500: '#314b8b',
    950: '#000000',
  },
}
SCSS
$custom: #314b8b;
$custom-light: #727cad;
$custom-dark: #000000;
JSON
{
  "hex": "#314b8b",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 222.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.1107,
    "h": 265.4
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#314B8B
secondary
#B29C65
accent
#B050D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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