#314582#314582

#314582 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.105 H 267.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#314582
RGBrgb(49, 69, 130)
HSLhsl(225, 45%, 35%)
HSVhsv(225, 62%, 51%)
CMYKcmyk(62.3%, 46.9%, 0%, 49%)
CIE-LABlab(30.69, 12.47, -36.83)
CIE-LCHlch(30.69, 38.88, 288.71°)
OKLaboklab(40.7% -0.0039 -0.1051)
OKLCHoklch(40.7% 0.105 267.9)
XYZxyz(7.4226, 6.5203, 21.9822)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314582 #826E31
analogous
#316D82 #314582 #453182
triadic
#314582 #823145 #458231
tetradic
#314582 #82316D #826E31 #318245
square
#314582 #82316D #826E31 #318245
split-complementary
#314582 #824531 #6D8231
monochromatic
#0F1629 #202D56 #314582 #425DAE #687FC6

Accessibility & contrast

On white

9.11
#314582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#314582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314582
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314582#FFFFFF#000000##FFFFFF
##3145821.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314582;
/* rgb */ color: rgb(49, 69, 130);
/* oklch */ color: oklch(40.7% 0.105 267.9);
Tailwind
colors: {
  custom: {
    50: '#7178a7',
    500: '#314582',
    950: '#000000',
  },
}
SCSS
$custom: #314582;
$custom-light: #7178a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314582",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 225.185,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.10515,
    "h": 267.9
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#314582
secondary
#AD9B62
accent
#B553D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314582

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

Preview Lab → · Contrast checker → · Palette generator →

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