#31448C#31448C

#31448C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.121 H 269.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#31448C
RGBrgb(49, 68, 140)
HSLhsl(227, 48%, 37%)
HSVhsv(227, 65%, 55%)
CMYKcmyk(65%, 51.4%, 0%, 45.1%)
CIE-LABlab(31.07, 16.85, -42.40)
CIE-LCHlch(31.07, 45.63, 291.67°)
OKLaboklab(41.2% -0.0014 -0.1215)
OKLCHoklch(41.2% 0.121 269.3)
XYZxyz(8.0658, 6.6800, 25.6702)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31448C #8C7931
analogous
#31718C #31448C #4C318C
triadic
#31448C #8C3144 #448C31
tetradic
#31448C #8C3171 #8C7931 #318C4C
square
#31448C #8C3171 #8C7931 #318C4C
split-complementary
#31448C #8C4C31 #718C31
monochromatic
#111831 #212E5F #31448C #415AB9 #6C80CC

Accessibility & contrast

On white

8.99
#31448C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31448C
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31448C#FFFFFF#000000##FFFFFF
##31448C1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8F
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #31448c;
/* rgb */ color: rgb(49, 68, 140);
/* oklch */ color: oklch(41.2% 0.121 269.3);
Tailwind
colors: {
  custom: {
    50: '#7377ae',
    500: '#31448c',
    950: '#000000',
  },
}
SCSS
$custom: #31448c;
$custom-light: #7377ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31448c",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 140
  },
  "hsl": {
    "h": 227.473,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.12149,
    "h": 269.3
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#31448C
secondary
#B3A366
accent
#BB50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #31448C

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

Preview Lab → · Contrast checker → · Palette generator →

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