#314985#314985

#314985 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.104 H 265.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#314985
RGBrgb(49, 73, 133)
HSLhsl(223, 46%, 36%)
HSVhsv(223, 63%, 52%)
CMYKcmyk(63.2%, 45.1%, 0%, 47.8%)
CIE-LABlab(32.06, 10.89, -36.50)
CIE-LCHlch(32.06, 38.09, 286.61°)
OKLaboklab(41.81% -0.0078 -0.1041)
OKLCHoklch(41.81% 0.104 265.7)
XYZxyz(7.8814, 7.1108, 23.1429)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314985 #856D31
analogous
#317385 #314985 #433185
triadic
#314985 #853149 #498531
tetradic
#314985 #853173 #856D31 #318543
square
#314985 #853173 #856D31 #318543
split-complementary
#314985 #854331 #738531
monochromatic
#10182C #213058 #314985 #4162B2 #6984C8

Accessibility & contrast

On white

8.67
#314985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#314985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314985
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314985#FFFFFF#000000##FFFFFF
##3149851.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F87
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314985;
/* rgb */ color: rgb(49, 73, 133);
/* oklch */ color: oklch(41.8% 0.104 265.7);
Tailwind
colors: {
  custom: {
    50: '#717ba9',
    500: '#314985',
    950: '#000000',
  },
}
SCSS
$custom: #314985;
$custom-light: #717ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#314985",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 222.857,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.10436,
    "h": 265.7
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#314985
secondary
#AF9963
accent
#B052D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #314985

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

Preview Lab → · Contrast checker → · Palette generator →

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