#314571#314571

#314571 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.079 H 264.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#314571
RGBrgb(49, 69, 113)
HSLhsl(221, 40%, 32%)
HSVhsv(221, 57%, 44%)
CMYKcmyk(56.6%, 38.9%, 0%, 55.7%)
CIE-LABlab(29.67, 6.31, -27.81)
CIE-LCHlch(29.67, 28.52, 282.78°)
OKLaboklab(39.57% -0.0075 -0.0787)
OKLCHoklch(39.57% 0.079 264.6)
XYZxyz(6.3744, 6.1010, 16.4613)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314571 #715D31
analogous
#316571 #314571 #3D3171
triadic
#314571 #713145 #457131
tetradic
#314571 #713165 #715D31 #31713D
square
#314571 #713165 #715D31 #31713D
split-complementary
#314571 #713D31 #657131
monochromatic
#0C111C #1E2B46 #314571 #445F9C #627DBB

Accessibility & contrast

On white

9.46
#314571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#314571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314571
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314571#FFFFFF#000000##FFFFFF
##3145711.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#0E4F55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314571;
/* rgb */ color: rgb(49, 69, 113);
/* oklch */ color: oklch(39.6% 0.079 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e789a',
    500: '#314571',
    950: '#000000',
  },
}
SCSS
$custom: #314571;
$custom-light: #6e789a;
$custom-dark: #000000;
JSON
{
  "hex": "#314571",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 221.25,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.07902,
    "h": 264.6
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#314571
secondary
#A28C5C
accent
#AA58CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #314571

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

Preview Lab → · Contrast checker → · Palette generator →

#314571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva