#031736#031736

#031736 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.067 H 257.9°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#031736
RGBrgb(3, 23, 54)
HSLhsl(216, 89%, 11%)
HSVhsv(216, 94%, 21%)
CMYKcmyk(94.4%, 57.4%, 0%, 78.8%)
CIE-LABlab(8.11, 5.97, -22.67)
CIE-LCHlch(8.11, 23.44, 284.75°)
OKLaboklab(20.97% -0.014 -0.0652)
OKLCHoklch(20.97% 0.067 257.9)
XYZxyz(1.0096, 0.8984, 3.6095)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031736 #362203
analogous
#033036 #031736 #080336
triadic
#031736 #360317 #173603
tetradic
#031736 #360330 #362203 #033608
square
#031736 #360330 #362203 #033608
split-complementary
#031736 #360803 #303603
monochromatic
#020C1D #020C1D #031736 #063070 #0948AA

Accessibility & contrast

On white

17.80
#031736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031736
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031736#FFFFFF#000000##FFFFFF
##0317361.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031736;
/* rgb */ color: rgb(3, 23, 54);
/* oklch */ color: oklch(21.0% 0.067 257.9);
Tailwind
colors: {
  custom: {
    50: '#4d536d',
    500: '#031736',
    950: '#000000',
  },
}
SCSS
$custom: #031736;
$custom-light: #4d536d;
$custom-dark: #000000;
JSON
{
  "hex": "#031736",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 216.471,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20971,
    "c": 0.06673,
    "h": 257.9
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#031736
secondary
#79541C
accent
#AB29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #031736

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

Preview Lab → · Contrast checker → · Palette generator →

#031736 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva