#31448A#31448A

#31448A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.119 H 269.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#31448A
RGBrgb(49, 68, 138)
HSLhsl(227, 48%, 37%)
HSVhsv(227, 64%, 54%)
CMYKcmyk(64.5%, 50.7%, 0%, 45.9%)
CIE-LABlab(30.93, 16.10, -41.39)
CIE-LCHlch(30.93, 44.42, 291.26°)
OKLaboklab(41.05% -0.0016 -0.1185)
OKLCHoklch(41.05% 0.119 269.2)
XYZxyz(7.9196, 6.6215, 24.9006)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31448A #8A7731
analogous
#31718A #31448A #4B318A
triadic
#31448A #8A3144 #448A31
tetradic
#31448A #8A3171 #8A7731 #318A4B
square
#31448A #8A3171 #8A7731 #318A4B
split-complementary
#31448A #8A4B31 #718A31
monochromatic
#111730 #212E5D #31448A #415AB7 #6B7FCA

Accessibility & contrast

On white

9.03
#31448A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#31448A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31448A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31448A#FFFFFF#000000##FFFFFF
##31448A1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#0A4589
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #31448a;
/* rgb */ color: rgb(49, 68, 138);
/* oklch */ color: oklch(41.0% 0.119 269.2);
Tailwind
colors: {
  custom: {
    50: '#7377ad',
    500: '#31448a',
    950: '#000000',
  },
}
SCSS
$custom: #31448a;
$custom-light: #7377ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31448a",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 138
  },
  "hsl": {
    "h": 227.191,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41048,
    "c": 0.11852,
    "h": 269.2
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#31448A
secondary
#B2A165
accent
#BA51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #31448A

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

Preview Lab → · Contrast checker → · Palette generator →

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