#314970#314970

#314970 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.073 H 259.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#314970
RGBrgb(49, 73, 112)
HSLhsl(217, 39%, 32%)
HSVhsv(217, 56%, 44%)
CMYKcmyk(56.3%, 34.8%, 0%, 56.1%)
CIE-LABlab(30.85, 3.30, -25.32)
CIE-LCHlch(30.85, 25.53, 277.42°)
OKLaboklab(40.48% -0.0129 -0.0714)
OKLCHoklch(40.48% 0.073 259.7)
XYZxyz(6.5728, 6.5874, 16.2512)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314970 #705831
analogous
#316970 #314970 #393170
triadic
#314970 #703149 #497031
tetradic
#314970 #703169 #705831 #317039
square
#314970 #703169 #705831 #317039
split-complementary
#314970 #703931 #697031
monochromatic
#0C121B #1E2D45 #314970 #44659B #6183BA

Accessibility & contrast

On white

9.06
#314970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#314970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314970
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314970#FFFFFF#000000##FFFFFF
##3149701.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C72
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#0E5257
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314970;
/* rgb */ color: rgb(49, 73, 112);
/* oklch */ color: oklch(40.5% 0.073 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7b99',
    500: '#314970',
    950: '#000000',
  },
}
SCSS
$custom: #314970;
$custom-light: #6e7b99;
$custom-dark: #000000;
JSON
{
  "hex": "#314970",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 112
  },
  "hsl": {
    "h": 217.143,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40476,
    "c": 0.07252,
    "h": 259.7
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#314970
secondary
#A1875C
accent
#A259CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #314970

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

Preview Lab → · Contrast checker → · Palette generator →

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