#31449F#31449F

#31449F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.149 H 270.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#31449F
RGBrgb(49, 68, 159)
HSLhsl(230, 53%, 41%)
HSVhsv(230, 69%, 62%)
CMYKcmyk(69.2%, 57.2%, 0%, 37.6%)
CIE-LABlab(32.46, 23.90, -51.73)
CIE-LCHlch(32.46, 56.99, 294.80°)
OKLaboklab(42.69% 0 -0.1489)
OKLCHoklch(42.69% 0.149 270)
XYZxyz(9.5896, 7.2895, 33.6958)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31449F #9F8C31
analogous
#317B9F #31449F #55319F
triadic
#31449F #9F3144 #449F31
tetradic
#31449F #9F317B #9F8C31 #319F55
square
#31449F #9F317B #9F8C31 #319F55
split-complementary
#31449F #9F5531 #7B9F31
monochromatic
#141C41 #233070 #31449F #475DC6 #7686D5

Accessibility & contrast

On white

8.54
#31449F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#31449F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31449F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31449F#FFFFFF#000000##FFFFFF
##31449F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #31449f;
/* rgb */ color: rgb(49, 68, 159);
/* oklch */ color: oklch(42.7% 0.149 270.0);
Tailwind
colors: {
  custom: {
    50: '#7777bc',
    500: '#31449f',
    950: '#000000',
  },
}
SCSS
$custom: #31449f;
$custom-light: #7777bc;
$custom-dark: #000000;
JSON
{
  "hex": "#31449f",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 159
  },
  "hsl": {
    "h": 229.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.14894,
    "h": 270
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#31449F
secondary
#BDAF6F
accent
#C34CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #31449F

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

Preview Lab → · Contrast checker → · Palette generator →

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