#31439F#31439F

#31439F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.150 H 270.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#31439F
RGBrgb(49, 67, 159)
HSLhsl(230, 53%, 41%)
HSVhsv(230, 69%, 62%)
CMYKcmyk(69.2%, 57.9%, 0%, 37.6%)
CIE-LABlab(32.19, 24.57, -52.17)
CIE-LCHlch(32.19, 57.66, 295.22°)
OKLaboklab(42.49% 0.0009 -0.1502)
OKLCHoklch(42.49% 0.15 270.3)
XYZxyz(9.5297, 7.1696, 33.6758)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31439F #9F8D31
analogous
#317A9F #31439F #56319F
triadic
#31439F #9F3143 #439F31
tetradic
#31439F #9F317A #9F8D31 #319F56
square
#31439F #9F317A #9F8D31 #319F56
split-complementary
#31439F #9F5631 #7A9F31
monochromatic
#141C41 #232F70 #31439F #475CC6 #7685D5

Accessibility & contrast

On white

8.63
#31439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31439F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31439F#FFFFFF#000000##FFFFFF
##31439F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31439f;
/* rgb */ color: rgb(49, 67, 159);
/* oklch */ color: oklch(42.5% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#7776bc',
    500: '#31439f',
    950: '#000000',
  },
}
SCSS
$custom: #31439f;
$custom-light: #7776bc;
$custom-dark: #000000;
JSON
{
  "hex": "#31439f",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 230.182,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.15022,
    "h": 270.3
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#31439F
secondary
#BDB06F
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #31439F

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

Preview Lab → · Contrast checker → · Palette generator →

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