#031636#031636

#031636 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.7% C 0.068 H 258.9°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#031636
RGBrgb(3, 22, 54)
HSLhsl(218, 89%, 11%)
HSVhsv(218, 94%, 21%)
CMYKcmyk(94.4%, 59.3%, 0%, 78.8%)
CIE-LABlab(7.76, 6.77, -23.24)
CIE-LCHlch(7.76, 24.21, 286.25°)
OKLaboklab(20.7% -0.0131 -0.067)
OKLCHoklch(20.7% 0.068 258.9)
XYZxyz(0.9901, 0.8594, 3.6030)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031636 #362303
analogous
#032F36 #031636 #090336
triadic
#031636 #360316 #163603
tetradic
#031636 #36032F #362303 #033609
square
#031636 #36032F #362303 #033609
split-complementary
#031636 #360903 #2F3603
monochromatic
#020C1D #020C1D #031636 #062E70 #0945AA

Accessibility & contrast

On white

17.92
#031636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031636
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031636#FFFFFF#000000##FFFFFF
##0316361.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A37
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031636;
/* rgb */ color: rgb(3, 22, 54);
/* oklch */ color: oklch(20.7% 0.068 258.9);
Tailwind
colors: {
  custom: {
    50: '#4d526d',
    500: '#031636',
    950: '#000000',
  },
}
SCSS
$custom: #031636;
$custom-light: #4d526d;
$custom-dark: #000000;
JSON
{
  "hex": "#031636",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 54
  },
  "hsl": {
    "h": 217.647,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20699,
    "c": 0.06823,
    "h": 258.9
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#031636
secondary
#79561C
accent
#AF29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #031636

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

Preview Lab → · Contrast checker → · Palette generator →

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