#31448D#31448D

#31448D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.123 H 269.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#31448D
RGBrgb(49, 68, 141)
HSLhsl(228, 48%, 37%)
HSVhsv(228, 65%, 55%)
CMYKcmyk(65.2%, 51.8%, 0%, 44.7%)
CIE-LABlab(31.14, 17.22, -42.91)
CIE-LCHlch(31.14, 46.23, 291.86°)
OKLaboklab(41.27% -0.0013 -0.123)
OKLCHoklch(41.27% 0.123 269.4)
XYZxyz(8.1398, 6.7096, 26.0603)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31448D #8D7A31
analogous
#31728D #31448D #4C318D
triadic
#31448D #8D3144 #448D31
tetradic
#31448D #8D3172 #8D7A31 #318D4C
square
#31448D #8D3172 #8D7A31 #318D4C
split-complementary
#31448D #8D4C31 #728D31
monochromatic
#111832 #212E60 #31448D #415ABA #6C80CC

Accessibility & contrast

On white

8.97
#31448D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#31448D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31448D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31448D#FFFFFF#000000##FFFFFF
##31448D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #31448d;
/* rgb */ color: rgb(49, 68, 141);
/* oklch */ color: oklch(41.3% 0.123 269.4);
Tailwind
colors: {
  custom: {
    50: '#7377af',
    500: '#31448d',
    950: '#000000',
  },
}
SCSS
$custom: #31448d;
$custom-light: #7377af;
$custom-dark: #000000;
JSON
{
  "hex": "#31448d",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 141
  },
  "hsl": {
    "h": 227.609,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.12297,
    "h": 269.4
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#31448D
secondary
#B4A466
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #31448D

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

Preview Lab → · Contrast checker → · Palette generator →

#31448D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva