#314671#314671

#314671 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.078 H 263.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#314671
RGBrgb(49, 70, 113)
HSLhsl(220, 40%, 32%)
HSVhsv(220, 57%, 44%)
CMYKcmyk(56.6%, 38.1%, 0%, 55.7%)
CIE-LABlab(29.97, 5.64, -27.32)
CIE-LCHlch(29.97, 27.90, 281.66°)
OKLaboklab(39.81% -0.0088 -0.0772)
OKLCHoklch(39.81% 0.078 263.5)
XYZxyz(6.4364, 6.2251, 16.4820)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314671 #715C31
analogous
#316671 #314671 #3C3171
triadic
#314671 #713146 #467131
tetradic
#314671 #713166 #715C31 #31713C
square
#314671 #713166 #715C31 #31713C
split-complementary
#314671 #713C31 #667131
monochromatic
#0C111C #1E2C46 #314671 #44609C #627FBB

Accessibility & contrast

On white

9.35
#314671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#314671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314671
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314671#FFFFFF#000000##FFFFFF
##3146711.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#2D4470
Tritanopia (blue-blind)
#0E4F56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314671;
/* rgb */ color: rgb(49, 70, 113);
/* oklch */ color: oklch(39.8% 0.078 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e799a',
    500: '#314671',
    950: '#000000',
  },
}
SCSS
$custom: #314671;
$custom-light: #6e799a;
$custom-dark: #000000;
JSON
{
  "hex": "#314671",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 113
  },
  "hsl": {
    "h": 220.313,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.07773,
    "h": 263.5
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#314671
secondary
#A28B5C
accent
#A858CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #314671

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

Preview Lab → · Contrast checker → · Palette generator →

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