#031836#031836

#031836 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.065 H 256.8°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#031836
RGBrgb(3, 24, 54)
HSLhsl(215, 89%, 11%)
HSVhsv(215, 94%, 21%)
CMYKcmyk(94.4%, 55.6%, 0%, 78.8%)
CIE-LABlab(8.47, 5.16, -22.10)
CIE-LCHlch(8.47, 22.69, 283.15°)
OKLaboklab(21.25% -0.0149 -0.0635)
OKLCHoklch(21.25% 0.065 256.8)
XYZxyz(1.0298, 0.9388, 3.6163)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031836 #362103
analogous
#033136 #031836 #070336
triadic
#031836 #360318 #183603
tetradic
#031836 #360331 #362103 #033607
square
#031836 #360331 #362103 #033607
split-complementary
#031836 #360703 #313603
monochromatic
#020D1D #020D1D #031836 #063270 #094CAA

Accessibility & contrast

On white

17.68
#031836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031836
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031836#FFFFFF#000000##FFFFFF
##0318361.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B37
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031836;
/* rgb */ color: rgb(3, 24, 54);
/* oklch */ color: oklch(21.2% 0.065 256.8);
Tailwind
colors: {
  custom: {
    50: '#4d546d',
    500: '#031836',
    950: '#000000',
  },
}
SCSS
$custom: #031836;
$custom-light: #4d546d;
$custom-dark: #000000;
JSON
{
  "hex": "#031836",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 215.294,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21246,
    "c": 0.06526,
    "h": 256.8
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#031836
secondary
#79531C
accent
#A729FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #031836

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

Preview Lab → · Contrast checker → · Palette generator →

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