#314B7E#314B7E

#314B7E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.091 H 262.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#314B7E
RGBrgb(49, 75, 126)
HSLhsl(220, 44%, 34%)
HSVhsv(220, 61%, 49%)
CMYKcmyk(61.1%, 40.5%, 0%, 50.6%)
CIE-LABlab(32.24, 6.99, -31.88)
CIE-LCHlch(32.24, 32.64, 282.37°)
OKLaboklab(41.81% -0.0116 -0.0905)
OKLCHoklch(41.81% 0.091 262.7)
XYZxyz(7.5473, 7.1908, 20.7249)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314B7E #7E6431
analogous
#31727E #314B7E #3E317E
triadic
#314B7E #7E314B #4B7E31
tetradic
#314B7E #7E3172 #7E6431 #317E3E
square
#314B7E #7E3172 #7E6431 #317E3E
split-complementary
#314B7E #7E3E31 #727E31
monochromatic
#0F1726 #203152 #314B7E #4265AA #6686C3

Accessibility & contrast

On white

8.61
#314B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#314B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314B7E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314B7E#FFFFFF#000000##FFFFFF
##314B7E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314b7e;
/* rgb */ color: rgb(49, 75, 126);
/* oklch */ color: oklch(41.8% 0.091 262.7);
Tailwind
colors: {
  custom: {
    50: '#707ca3',
    500: '#314b7e',
    950: '#000000',
  },
}
SCSS
$custom: #314b7e;
$custom-light: #707ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#314b7e",
  "rgb": {
    "r": 49,
    "g": 75,
    "b": 126
  },
  "hsl": {
    "h": 219.74,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.09124,
    "h": 262.7
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#314B7E
secondary
#AB9260
accent
#A954D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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