#31439E#31439E

#31439E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.149 H 270.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#31439E
RGBrgb(49, 67, 158)
HSLhsl(230, 53%, 41%)
HSVhsv(230, 69%, 62%)
CMYKcmyk(69%, 57.6%, 0%, 38%)
CIE-LABlab(32.11, 24.20, -51.69)
CIE-LCHlch(32.11, 57.07, 295.09°)
OKLaboklab(42.4% 0.0009 -0.1488)
OKLCHoklch(42.4% 0.149 270.3)
XYZxyz(9.4432, 7.1350, 33.2207)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31439E #9E8C31
analogous
#31799E #31439E #55319E
triadic
#31439E #9E3143 #439E31
tetradic
#31439E #9E3179 #9E8C31 #319E55
square
#31439E #9E3179 #9E8C31 #319E55
split-complementary
#31439E #9E5531 #799E31
monochromatic
#141B41 #232F6F #31439E #465BC6 #7585D4

Accessibility & contrast

On white

8.65
#31439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#31439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31439E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31439E#FFFFFF#000000##FFFFFF
##31439E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #31439e;
/* rgb */ color: rgb(49, 67, 158);
/* oklch */ color: oklch(42.4% 0.149 270.3);
Tailwind
colors: {
  custom: {
    50: '#7776bb',
    500: '#31439e',
    950: '#000000',
  },
}
SCSS
$custom: #31439e;
$custom-light: #7776bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31439e",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 230.092,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.14882,
    "h": 270.3
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#31439E
secondary
#BCAF6E
accent
#C44CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #31439E

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

Preview Lab → · Contrast checker → · Palette generator →

#31439E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva