#31449C#31449C

#31449C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.145 H 270.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#31449C
RGBrgb(49, 68, 156)
HSLhsl(229, 52%, 40%)
HSVhsv(229, 69%, 61%)
CMYKcmyk(68.6%, 56.4%, 0%, 38.8%)
CIE-LABlab(32.23, 22.79, -50.29)
CIE-LCHlch(32.23, 55.21, 294.38°)
OKLaboklab(42.44% -0.0001 -0.1447)
OKLCHoklch(42.44% 0.145 270)
XYZxyz(9.3325, 7.1866, 32.3414)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31449C #9C8931
analogous
#31799C #31449C #54319C
triadic
#31449C #9C3144 #449C31
tetradic
#31449C #9C3179 #9C8931 #319C54
square
#31449C #9C3179 #9C8931 #319C54
split-complementary
#31449C #9C5431 #799C31
monochromatic
#141B3F #22306D #31449C #455CC5 #7485D3

Accessibility & contrast

On white

8.62
#31449C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#31449C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31449C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31449C#FFFFFF#000000##FFFFFF
##31449C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #31449c;
/* rgb */ color: rgb(49, 68, 156);
/* oklch */ color: oklch(42.4% 0.145 270.0);
Tailwind
colors: {
  custom: {
    50: '#7677ba',
    500: '#31449c',
    950: '#000000',
  },
}
SCSS
$custom: #31449c;
$custom-light: #7677ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31449c",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 156
  },
  "hsl": {
    "h": 229.346,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.14469,
    "h": 270
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#31449C
secondary
#BBAE6D
accent
#C24CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #31449C

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

Preview Lab → · Contrast checker → · Palette generator →

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