#314E7E#314E7E

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

Color values

HEX#314E7E
RGBrgb(49, 78, 126)
HSLhsl(217, 44%, 34%)
HSVhsv(217, 61%, 49%)
CMYKcmyk(61.1%, 38.1%, 0%, 50.6%)
CIE-LABlab(33.15, 5.01, -30.43)
CIE-LCHlch(33.15, 30.84, 279.35°)
OKLaboklab(42.52% -0.0152 -0.0862)
OKLCHoklch(42.52% 0.088 260)
XYZxyz(7.7556, 7.6074, 20.7943)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314E7E #7E6131
analogous
#31757E #314E7E #3B317E
triadic
#314E7E #7E314E #4E7E31
tetradic
#314E7E #7E3175 #7E6131 #317E3B
square
#314E7E #7E3175 #7E6131 #317E3B
split-complementary
#314E7E #7E3B31 #757E31
monochromatic
#0F1726 #203352 #314E7E #4269AA #6689C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314E7E#FFFFFF#000000##FFFFFF
##314E7E1.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)
#3A5280
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314e7e;
/* rgb */ color: rgb(49, 78, 126);
/* oklch */ color: oklch(42.5% 0.088 260.0);
Tailwind
colors: {
  custom: {
    50: '#707fa3',
    500: '#314e7e',
    950: '#000000',
  },
}
SCSS
$custom: #314e7e;
$custom-light: #707fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#314e7e",
  "rgb": {
    "r": 49,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 217.403,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.08755,
    "h": 260
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#314E7E
secondary
#AB8F60
accent
#A454D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #314E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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