#314F85#314F85

#314F85 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.097 H 261.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#314F85
RGBrgb(49, 79, 133)
HSLhsl(219, 46%, 36%)
HSVhsv(219, 63%, 52%)
CMYKcmyk(63.2%, 40.6%, 0%, 47.8%)
CIE-LABlab(33.85, 6.90, -33.64)
CIE-LCHlch(33.85, 34.34, 281.59°)
OKLaboklab(43.19% -0.0146 -0.0956)
OKLCHoklch(43.19% 0.097 261.3)
XYZxyz(8.2948, 7.9377, 23.2808)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314F85 #856731
analogous
#317985 #314F85 #3D3185
triadic
#314F85 #85314F #4F8531
tetradic
#314F85 #853179 #856731 #31853D
square
#314F85 #853179 #856731 #31853D
split-complementary
#314F85 #853D31 #798531
monochromatic
#101A2C #213458 #314F85 #416AB2 #698BC8

Accessibility & contrast

On white

8.12
#314F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#314F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314F85
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314F85#FFFFFF#000000##FFFFFF
##314F851.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #314f85;
/* rgb */ color: rgb(49, 79, 133);
/* oklch */ color: oklch(43.2% 0.097 261.3);
Tailwind
colors: {
  custom: {
    50: '#7180a9',
    500: '#314f85',
    950: '#000000',
  },
}
SCSS
$custom: #314f85;
$custom-light: #7180a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314f85",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 218.571,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.09671,
    "h": 261.3
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#314F85
secondary
#AF9463
accent
#A752D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #314F85

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

Preview Lab → · Contrast checker → · Palette generator →

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