#314372#314372

#314372 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.083 H 266.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#314372
RGBrgb(49, 67, 114)
HSLhsl(223, 40%, 32%)
HSVhsv(223, 57%, 45%)
CMYKcmyk(57%, 41.2%, 0%, 55.3%)
CIE-LABlab(29.11, 8.01, -29.32)
CIE-LCHlch(29.11, 30.39, 285.28°)
OKLaboklab(39.17% -0.0047 -0.0831)
OKLCHoklch(39.17% 0.083 266.8)
XYZxyz(6.3100, 5.8817, 16.7191)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314372 #726031
analogous
#316472 #314372 #403172
triadic
#314372 #723143 #437231
tetradic
#314372 #723164 #726031 #317240
square
#314372 #723164 #726031 #317240
split-complementary
#314372 #724031 #647231
monochromatic
#0C111C #1F2A47 #314372 #435C9D #627BBB

Accessibility & contrast

On white

9.65
#314372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#314372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314372
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314372#FFFFFF#000000##FFFFFF
##3143721.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#0D4D55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314372;
/* rgb */ color: rgb(49, 67, 114);
/* oklch */ color: oklch(39.2% 0.083 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e769b',
    500: '#314372',
    950: '#000000',
  },
}
SCSS
$custom: #314372;
$custom-light: #6e769b;
$custom-dark: #000000;
JSON
{
  "hex": "#314372",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 223.385,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.08321,
    "h": 266.8
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#314372
secondary
#A38F5C
accent
#AF58D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #314372

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

Preview Lab → · Contrast checker → · Palette generator →

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