#314770#314770

#314770 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.075 H 262.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#314770
RGBrgb(49, 71, 112)
HSLhsl(219, 39%, 32%)
HSVhsv(219, 56%, 44%)
CMYKcmyk(56.3%, 36.6%, 0%, 56.1%)
CIE-LABlab(30.23, 4.62, -26.29)
CIE-LCHlch(30.23, 26.70, 279.97°)
OKLaboklab(39.99% -0.0103 -0.0742)
OKLCHoklch(39.99% 0.075 262.1)
XYZxyz(6.4435, 6.3288, 16.2081)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314770 #705A31
analogous
#316770 #314770 #3B3170
triadic
#314770 #703147 #477031
tetradic
#314770 #703167 #705A31 #31703B
square
#314770 #703167 #705A31 #31703B
split-complementary
#314770 #703B31 #677031
monochromatic
#0C111B #1E2C45 #314770 #44629B #6180BA

Accessibility & contrast

On white

9.27
#314770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#314770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314770
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314770#FFFFFF#000000##FFFFFF
##3147701.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A72
Deuteranopia (green-blind)
#2F456F
Tritanopia (blue-blind)
#0F5056
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314770;
/* rgb */ color: rgb(49, 71, 112);
/* oklch */ color: oklch(40.0% 0.075 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e7999',
    500: '#314770',
    950: '#000000',
  },
}
SCSS
$custom: #314770;
$custom-light: #6e7999;
$custom-dark: #000000;
JSON
{
  "hex": "#314770",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 112
  },
  "hsl": {
    "h": 219.048,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39992,
    "c": 0.07494,
    "h": 262.1
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#314770
secondary
#A1895C
accent
#A659CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #314770

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

Preview Lab → · Contrast checker → · Palette generator →

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