#31439A#31439A

#31439A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.143 H 270.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#31439A
RGBrgb(49, 67, 154)
HSLhsl(230, 52%, 40%)
HSVhsv(230, 68%, 60%)
CMYKcmyk(68.2%, 56.5%, 0%, 39.6%)
CIE-LABlab(31.81, 22.72, -49.76)
CIE-LCHlch(31.81, 54.70, 294.54°)
OKLaboklab(42.08% 0.0007 -0.1431)
OKLCHoklch(42.08% 0.143 270.3)
XYZxyz(9.1045, 6.9995, 31.4368)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31439A #9A8831
analogous
#31789A #31439A #53319A
triadic
#31439A #9A3143 #439A31
tetradic
#31439A #9A3178 #9A8831 #319A53
square
#31439A #9A3178 #9A8831 #319A53
split-complementary
#31439A #9A5331 #789A31
monochromatic
#131B3D #222F6C #31439A #455AC4 #7383D2

Accessibility & contrast

On white

8.75
#31439A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#31439A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31439A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31439A#FFFFFF#000000##FFFFFF
##31439A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #31439a;
/* rgb */ color: rgb(49, 67, 154);
/* oklch */ color: oklch(42.1% 0.143 270.3);
Tailwind
colors: {
  custom: {
    50: '#7676b8',
    500: '#31439a',
    950: '#000000',
  },
}
SCSS
$custom: #31439a;
$custom-light: #7676b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31439a",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 154
  },
  "hsl": {
    "h": 229.714,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.14315,
    "h": 270.3
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#31439A
secondary
#BAAD6C
accent
#C34DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #31439A

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

Preview Lab → · Contrast checker → · Palette generator →

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