#314C8F#314C8F

#314C8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.115 H 265.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#314C8F
RGBrgb(49, 76, 143)
HSLhsl(223, 49%, 38%)
HSVhsv(223, 66%, 56%)
CMYKcmyk(65.7%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.57, 12.59, -40.22)
CIE-LCHlch(33.57, 42.14, 287.38°)
OKLaboklab(43.17% -0.0093 -0.1149)
OKLCHoklch(43.17% 0.115 265.4)
XYZxyz(8.8073, 7.8042, 27.0235)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C8F #8F7431
analogous
#317B8F #314C8F #45318F
triadic
#314C8F #8F314C #4C8F31
tetradic
#314C8F #8F317B #8F7431 #318F45
square
#314C8F #8F317B #8F7431 #318F45
split-complementary
#314C8F #8F4531 #7B8F31
monochromatic
#121C34 #213461 #314C8F #4164BD #6D89CD

Accessibility & contrast

On white

8.20
#314C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#314C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C8F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C8F#FFFFFF#000000##FFFFFF
##314C8F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#1B4B8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #314c8f;
/* rgb */ color: rgb(49, 76, 143);
/* oklch */ color: oklch(43.2% 0.115 265.4);
Tailwind
colors: {
  custom: {
    50: '#737db0',
    500: '#314c8f',
    950: '#000000',
  },
}
SCSS
$custom: #314c8f;
$custom-light: #737db0;
$custom-dark: #000000;
JSON
{
  "hex": "#314c8f",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 222.766,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.11532,
    "h": 265.4
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#314C8F
secondary
#B59E67
accent
#B14FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #314C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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