#314B8D#314B8D

#314B8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.114 H 265.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#314B8D
RGBrgb(49, 75, 141)
HSLhsl(223, 48%, 37%)
HSVhsv(223, 65%, 55%)
CMYKcmyk(65.2%, 46.8%, 0%, 44.7%)
CIE-LABlab(33.15, 12.51, -39.67)
CIE-LCHlch(33.15, 41.60, 287.51°)
OKLaboklab(42.81% -0.0086 -0.1133)
OKLCHoklch(42.81% 0.114 265.7)
XYZxyz(8.5888, 7.6074, 26.2099)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B8D #8D7331
analogous
#31798D #314B8D #45318D
triadic
#314B8D #8D314B #4B8D31
tetradic
#314B8D #8D3179 #8D7331 #318D45
square
#314B8D #8D3179 #8D7331 #318D45
split-complementary
#314B8D #8D4531 #798D31
monochromatic
#111B32 #213360 #314B8D #4163BA #6C87CC

Accessibility & contrast

On white

8.33
#314B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#314B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B8D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B8D#FFFFFF#000000##FFFFFF
##314B8D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314b8d;
/* rgb */ color: rgb(49, 75, 141);
/* oklch */ color: oklch(42.8% 0.114 265.7);
Tailwind
colors: {
  custom: {
    50: '#737caf',
    500: '#314b8d',
    950: '#000000',
  },
}
SCSS
$custom: #314b8d;
$custom-light: #737caf;
$custom-dark: #000000;
JSON
{
  "hex": "#314b8d",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 223.043,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.11367,
    "h": 265.7
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#314B8D
secondary
#B49E66
accent
#B250D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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