#314E8E#314E8E

#314E8E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.111 H 264.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#314E8E
RGBrgb(49, 78, 142)
HSLhsl(221, 49%, 37%)
HSVhsv(221, 65%, 56%)
CMYKcmyk(65.5%, 45.1%, 0%, 44.3%)
CIE-LABlab(34.09, 10.88, -38.77)
CIE-LCHlch(34.09, 40.27, 285.68°)
OKLaboklab(43.55% -0.0116 -0.1107)
OKLCHoklch(43.55% 0.111 264)
XYZxyz(8.8718, 8.0539, 26.6730)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E8E #8E7131
analogous
#317D8E #314E8E #42318E
triadic
#314E8E #8E314E #4E8E31
tetradic
#314E8E #8E317D #8E7131 #318E42
square
#314E8E #8E317D #8E7131 #318E42
split-complementary
#314E8E #8E4231 #7D8E31
monochromatic
#121C33 #213561 #314E8E #4167BB #6D8BCD

Accessibility & contrast

On white

8.04
#314E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#314E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314E8E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314E8E#FFFFFF#000000##FFFFFF
##314E8E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314e8e;
/* rgb */ color: rgb(49, 78, 142);
/* oklch */ color: oklch(43.6% 0.111 264.0);
Tailwind
colors: {
  custom: {
    50: '#737faf',
    500: '#314e8e',
    950: '#000000',
  },
}
SCSS
$custom: #314e8e;
$custom-light: #737faf;
$custom-dark: #000000;
JSON
{
  "hex": "#314e8e",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 221.29,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.11127,
    "h": 264
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#314E8E
secondary
#B49C67
accent
#AE50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #314E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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