#031635#031635

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

Color values

HEX#031635
RGBrgb(3, 22, 53)
HSLhsl(217, 89%, 11%)
HSVhsv(217, 94%, 21%)
CMYKcmyk(94.3%, 58.5%, 0%, 79.2%)
CIE-LABlab(7.68, 6.27, -22.65)
CIE-LCHlch(7.68, 23.50, 285.48°)
OKLaboklab(20.61% -0.0133 -0.0652)
OKLCHoklch(20.61% 0.067 258.5)
XYZxyz(0.9668, 0.8501, 3.4806)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031635 #352203
analogous
#032F35 #031635 #090335
triadic
#031635 #350316 #163503
tetradic
#031635 #35032F #352203 #033509
square
#031635 #35032F #352203 #033509
split-complementary
#031635 #350903 #2F3503
monochromatic
#020C1D #020C1D #031635 #062E6F #0A46A9

Accessibility & contrast

On white

17.95
#031635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031635
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031635#FFFFFF#000000##FFFFFF
##0316351.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031635;
/* rgb */ color: rgb(3, 22, 53);
/* oklch */ color: oklch(20.6% 0.067 258.5);
Tailwind
colors: {
  custom: {
    50: '#4c526c',
    500: '#031635',
    950: '#000000',
  },
}
SCSS
$custom: #031635;
$custom-light: #4c526c;
$custom-dark: #000000;
JSON
{
  "hex": "#031635",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 217.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20606,
    "c": 0.06658,
    "h": 258.5
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#031635
secondary
#78551C
accent
#AE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #031635

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

Preview Lab → · Contrast checker → · Palette generator →

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