#314474#314474

#314474 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.085 H 266.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#314474
RGBrgb(49, 68, 116)
HSLhsl(223, 41%, 32%)
HSVhsv(223, 58%, 45%)
CMYKcmyk(57.8%, 41.4%, 0%, 54.5%)
CIE-LABlab(29.53, 8.05, -29.91)
CIE-LCHlch(29.53, 30.98, 285.07°)
OKLaboklab(39.53% -0.0055 -0.0848)
OKLCHoklch(39.53% 0.085 266.3)
XYZxyz(6.4851, 6.0477, 17.3452)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314474 #746131
analogous
#316674 #314474 #403174
triadic
#314474 #743144 #447431
tetradic
#314474 #743166 #746131 #317440
square
#314474 #743166 #746131 #317440
split-complementary
#314474 #744031 #667431
monochromatic
#0D121E #1F2B49 #314474 #435D9F #637CBD

Accessibility & contrast

On white

9.50
#314474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#314474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314474
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314474#FFFFFF#000000##FFFFFF
##3144741.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#0A4E56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314474;
/* rgb */ color: rgb(49, 68, 116);
/* oklch */ color: oklch(39.5% 0.085 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f779c',
    500: '#314474',
    950: '#000000',
  },
}
SCSS
$custom: #314474;
$custom-light: #6f779c;
$custom-dark: #000000;
JSON
{
  "hex": "#314474",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 116
  },
  "hsl": {
    "h": 222.985,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.08499,
    "h": 266.3
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#314474
secondary
#A4905C
accent
#AE57D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #314474

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

Preview Lab → · Contrast checker → · Palette generator →

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