#31436B#31436B

#31436B is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.072 H 264.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#31436B
RGBrgb(49, 67, 107)
HSLhsl(221, 37%, 31%)
HSVhsv(221, 54%, 42%)
CMYKcmyk(54.2%, 37.4%, 0%, 58%)
CIE-LABlab(28.72, 5.53, -25.50)
CIE-LCHlch(28.72, 26.10, 282.23°)
OKLaboklab(38.73% -0.0065 -0.0719)
OKLCHoklch(38.73% 0.072 264.9)
XYZxyz(5.9267, 5.7284, 14.7004)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31436B #6B5931
analogous
#31606B #31436B #3C316B
triadic
#31436B #6B3143 #436B31
tetradic
#31436B #6B3160 #6B5931 #316B3C
square
#31436B #6B3160 #6B5931 #316B3C
split-complementary
#31436B #6B3C31 #606B31
monochromatic
#0B0E17 #1E2941 #31436B #445D95 #607BB6

Accessibility & contrast

On white

9.79
#31436B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#31436B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31436B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31436B#FFFFFF#000000##FFFFFF
##31436B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#164C52
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #31436b;
/* rgb */ color: rgb(49, 67, 107);
/* oklch */ color: oklch(38.7% 0.072 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d7695',
    500: '#31436b',
    950: '#000000',
  },
}
SCSS
$custom: #31436b;
$custom-light: #6d7695;
$custom-dark: #000000;
JSON
{
  "hex": "#31436b",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 107
  },
  "hsl": {
    "h": 221.379,
    "s": 37.179,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.07224,
    "h": 264.9
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#31436B
secondary
#9C885C
accent
#AA5BCD
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #31436B

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

Preview Lab → · Contrast checker → · Palette generator →

#31436B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva