#31467A#31467A

#31467A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.092 H 265.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#31467A
RGBrgb(49, 70, 122)
HSLhsl(223, 43%, 34%)
HSVhsv(223, 60%, 48%)
CMYKcmyk(59.8%, 42.6%, 0%, 52.2%)
CIE-LABlab(30.49, 8.87, -32.16)
CIE-LCHlch(30.49, 33.36, 285.43°)
OKLaboklab(40.38% -0.0066 -0.0914)
OKLCHoklch(40.38% 0.092 265.9)
XYZxyz(6.9684, 6.4379, 19.2840)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31467A #7A6531
analogous
#316A7A #31467A #40317A
triadic
#31467A #7A3146 #467A31
tetradic
#31467A #7A316A #7A6531 #317A40
square
#31467A #7A316A #7A6531 #317A40
split-complementary
#31467A #7A4031 #6A7A31
monochromatic
#0E1423 #1F2D4E #31467A #435FA6 #647FC1

Accessibility & contrast

On white

9.18
#31467A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#31467A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31467A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31467A#FFFFFF#000000##FFFFFF
##31467A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #31467a;
/* rgb */ color: rgb(49, 70, 122);
/* oklch */ color: oklch(40.4% 0.092 265.9);
Tailwind
colors: {
  custom: {
    50: '#7079a1',
    500: '#31467a',
    950: '#000000',
  },
}
SCSS
$custom: #31467a;
$custom-light: #7079a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31467a",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 122
  },
  "hsl": {
    "h": 222.74,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.0916,
    "h": 265.9
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#31467A
secondary
#A8935E
accent
#AE55D2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #31467A

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

Preview Lab → · Contrast checker → · Palette generator →

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