#31467D#31467D

#31467D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.096 H 266.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#31467D
RGBrgb(49, 70, 125)
HSLhsl(223, 44%, 34%)
HSVhsv(223, 61%, 49%)
CMYKcmyk(60.8%, 44%, 0%, 51%)
CIE-LABlab(30.67, 9.97, -33.74)
CIE-LCHlch(30.67, 35.19, 286.45°)
OKLaboklab(40.58% -0.006 -0.096)
OKLCHoklch(40.58% 0.096 266.4)
XYZxyz(7.1572, 6.5134, 20.2781)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31467D #7D6831
analogous
#316C7D #31467D #42317D
triadic
#31467D #7D3146 #467D31
tetradic
#31467D #7D316C #7D6831 #317D42
square
#31467D #7D316C #7D6831 #317D42
split-complementary
#31467D #7D4231 #6C7D31
monochromatic
#0F1525 #202D51 #31467D #425FA9 #667FC3

Accessibility & contrast

On white

9.12
#31467D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#31467D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31467D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31467D#FFFFFF#000000##FFFFFF
##31467D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #31467d;
/* rgb */ color: rgb(49, 70, 125);
/* oklch */ color: oklch(40.6% 0.096 266.4);
Tailwind
colors: {
  custom: {
    50: '#7079a3',
    500: '#31467d',
    950: '#000000',
  },
}
SCSS
$custom: #31467d;
$custom-light: #7079a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31467d",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 223.421,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.0962,
    "h": 266.4
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#31467D
secondary
#AA9660
accent
#B054D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #31467D

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

Preview Lab → · Contrast checker → · Palette generator →

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