#31449B#31449B

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

Color values

HEX#31449B
RGBrgb(49, 68, 155)
HSLhsl(229, 52%, 40%)
HSVhsv(229, 68%, 61%)
CMYKcmyk(68.4%, 56.1%, 0%, 39.2%)
CIE-LABlab(32.15, 22.42, -49.81)
CIE-LCHlch(32.15, 54.62, 294.23°)
OKLaboklab(42.36% -0.0002 -0.1433)
OKLCHoklch(42.36% 0.143 269.9)
XYZxyz(9.2481, 7.1529, 31.8973)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31449B #9B8831
analogous
#31799B #31449B #53319B
triadic
#31449B #9B3144 #449B31
tetradic
#31449B #9B3179 #9B8831 #319B53
square
#31449B #9B3179 #9B8831 #319B53
split-complementary
#31449B #9B5331 #799B31
monochromatic
#141B3E #22306D #31449B #455CC4 #7385D3

Accessibility & contrast

On white

8.64
#31449B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#31449B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31449B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31449B#FFFFFF#000000##FFFFFF
##31449B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #31449b;
/* rgb */ color: rgb(49, 68, 155);
/* oklch */ color: oklch(42.4% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#7677b9',
    500: '#31449b',
    950: '#000000',
  },
}
SCSS
$custom: #31449b;
$custom-light: #7677b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31449b",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 155
  },
  "hsl": {
    "h": 229.245,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.14327,
    "h": 269.9
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#31449B
secondary
#BBAD6D
accent
#C24CDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #31449B

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

Preview Lab → · Contrast checker → · Palette generator →

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