#31436D#31436D

#31436D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.075 H 265.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#31436D
RGBrgb(49, 67, 109)
HSLhsl(222, 38%, 31%)
HSVhsv(222, 55%, 43%)
CMYKcmyk(55%, 38.5%, 0%, 57.3%)
CIE-LABlab(28.83, 6.23, -26.60)
CIE-LCHlch(28.83, 27.32, 283.19°)
OKLaboklab(38.85% -0.006 -0.0751)
OKLCHoklch(38.85% 0.075 265.5)
XYZxyz(6.0332, 5.7710, 15.2610)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31436D #6D5B31
analogous
#31616D #31436D #3D316D
triadic
#31436D #6D3143 #436D31
tetradic
#31436D #6D3161 #6D5B31 #316D3D
square
#31436D #6D3161 #6D5B31 #316D3D
split-complementary
#31436D #6D3D31 #616D31
monochromatic
#0B0F19 #1E2943 #31436D #445D97 #617BB8

Accessibility & contrast

On white

9.75
#31436D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31436D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31436D#FFFFFF#000000##FFFFFF
##31436D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#2C416C
Tritanopia (blue-blind)
#144C52
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #31436d;
/* rgb */ color: rgb(49, 67, 109);
/* oklch */ color: oklch(38.9% 0.075 265.5);
Tailwind
colors: {
  custom: {
    50: '#6e7697',
    500: '#31436d',
    950: '#000000',
  },
}
SCSS
$custom: #31436d;
$custom-light: #6e7697;
$custom-dark: #000000;
JSON
{
  "hex": "#31436d",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 109
  },
  "hsl": {
    "h": 222,
    "s": 37.975,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38852,
    "c": 0.07539,
    "h": 265.5
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#31436D
secondary
#9E8A5C
accent
#AB5ACE
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #31436D

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

Preview Lab → · Contrast checker → · Palette generator →

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