#31436F#31436F

#31436F is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.079 H 266.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#31436F
RGBrgb(49, 67, 111)
HSLhsl(223, 39%, 31%)
HSVhsv(223, 56%, 44%)
CMYKcmyk(55.9%, 39.6%, 0%, 56.5%)
CIE-LABlab(28.94, 6.94, -27.69)
CIE-LCHlch(28.94, 28.55, 284.07°)
OKLaboklab(38.98% -0.0054 -0.0783)
OKLCHoklch(38.98% 0.079 266)
XYZxyz(6.1421, 5.8145, 15.8345)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31436F #6F5D31
analogous
#31626F #31436F #3E316F
triadic
#31436F #6F3143 #436F31
tetradic
#31436F #6F3162 #6F5D31 #316F3E
square
#31436F #6F3162 #6F5D31 #316F3E
split-complementary
#31436F #6F3E31 #626F31
monochromatic
#0C101A #1E2945 #31436F #445D99 #617BB9

Accessibility & contrast

On white

9.71
#31436F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#31436F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31436F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31436F#FFFFFF#000000##FFFFFF
##31436F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#2A426E
Tritanopia (blue-blind)
#124D53
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #31436f;
/* rgb */ color: rgb(49, 67, 111);
/* oklch */ color: oklch(39.0% 0.079 266.0);
Tailwind
colors: {
  custom: {
    50: '#6e7698',
    500: '#31436f',
    950: '#000000',
  },
}
SCSS
$custom: #31436f;
$custom-light: #6e7698;
$custom-dark: #000000;
JSON
{
  "hex": "#31436f",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 111
  },
  "hsl": {
    "h": 222.581,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.07852,
    "h": 266
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#31436F
secondary
#A08C5C
accent
#AD59CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #31436F

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

Preview Lab → · Contrast checker → · Palette generator →

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