#314370#314370

#314370 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.080 H 266.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#314370
RGBrgb(49, 67, 112)
HSLhsl(223, 39%, 32%)
HSVhsv(223, 56%, 44%)
CMYKcmyk(56.3%, 40.2%, 0%, 56.1%)
CIE-LABlab(29.00, 7.29, -28.24)
CIE-LCHlch(29.00, 29.16, 284.49°)
OKLaboklab(39.04% -0.0052 -0.0799)
OKLCHoklch(39.04% 0.08 266.3)
XYZxyz(6.1974, 5.8367, 16.1261)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314370 #705E31
analogous
#316370 #314370 #3F3170
triadic
#314370 #703143 #437031
tetradic
#314370 #703163 #705E31 #31703F
square
#314370 #703163 #705E31 #31703F
split-complementary
#314370 #703F31 #637031
monochromatic
#0C101B #1E2A45 #314370 #445C9B #617BBA

Accessibility & contrast

On white

9.69
#314370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#314370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314370
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314370#FFFFFF#000000##FFFFFF
##3143701.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314772
Deuteranopia (green-blind)
#29426F
Tritanopia (blue-blind)
#104D54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314370;
/* rgb */ color: rgb(49, 67, 112);
/* oklch */ color: oklch(39.0% 0.080 266.3);
Tailwind
colors: {
  custom: {
    50: '#6e7699',
    500: '#314370',
    950: '#000000',
  },
}
SCSS
$custom: #314370;
$custom-light: #6e7699;
$custom-dark: #000000;
JSON
{
  "hex": "#314370",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 112
  },
  "hsl": {
    "h": 222.857,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.08009,
    "h": 266.3
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#314370
secondary
#A18D5C
accent
#AD59CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #314370

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

Preview Lab → · Contrast checker → · Palette generator →

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