#31449A#31449A

#31449A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.142 H 269.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#31449A
RGBrgb(49, 68, 154)
HSLhsl(229, 52%, 40%)
HSVhsv(229, 68%, 60%)
CMYKcmyk(68.2%, 55.8%, 0%, 39.6%)
CIE-LABlab(32.08, 22.05, -49.32)
CIE-LCHlch(32.08, 54.03, 294.08°)
OKLaboklab(42.28% -0.0002 -0.1418)
OKLCHoklch(42.28% 0.142 269.9)
XYZxyz(9.1645, 7.1194, 31.4568)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31449A #9A8731
analogous
#31789A #31449A #53319A
triadic
#31449A #9A3144 #449A31
tetradic
#31449A #9A3178 #9A8731 #319A53
square
#31449A #9A3178 #9A8731 #319A53
split-complementary
#31449A #9A5331 #789A31
monochromatic
#131B3D #222F6C #31449A #455CC4 #7384D2

Accessibility & contrast

On white

8.66
#31449A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#31449A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31449A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31449A#FFFFFF#000000##FFFFFF
##31449A1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31449a;
/* rgb */ color: rgb(49, 68, 154);
/* oklch */ color: oklch(42.3% 0.142 269.9);
Tailwind
colors: {
  custom: {
    50: '#7677b8',
    500: '#31449a',
    950: '#000000',
  },
}
SCSS
$custom: #31449a;
$custom-light: #7677b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31449a",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 154
  },
  "hsl": {
    "h": 229.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.14185,
    "h": 269.9
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#31449A
secondary
#BAAC6C
accent
#C14DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #31449A

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

Preview Lab → · Contrast checker → · Palette generator →

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