#031633#031633

#031633 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.063 H 257.5°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#031633
RGBrgb(3, 22, 51)
HSLhsl(216, 89%, 11%)
HSVhsv(216, 94%, 20%)
CMYKcmyk(94.1%, 56.9%, 0%, 80%)
CIE-LABlab(7.52, 5.26, -21.45)
CIE-LCHlch(7.52, 22.09, 283.79°)
OKLaboklab(20.42% -0.0137 -0.0617)
OKLCHoklch(20.42% 0.063 257.5)
XYZxyz(0.9218, 0.8321, 3.2434)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031633 #332003
analogous
#032E33 #031633 #080333
triadic
#031633 #330316 #163303
tetradic
#031633 #33032E #332003 #033308
square
#031633 #33032E #332003 #033308
split-complementary
#031633 #330803 #2E3303
monochromatic
#020C1D #020C1D #031633 #062F6D #0A48A7

Accessibility & contrast

On white

18.00
#031633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031633
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031633#FFFFFF#000000##FFFFFF
##0316331.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061934
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031633;
/* rgb */ color: rgb(3, 22, 51);
/* oklch */ color: oklch(20.4% 0.063 257.5);
Tailwind
colors: {
  custom: {
    50: '#4c526b',
    500: '#031633',
    950: '#000000',
  },
}
SCSS
$custom: #031633;
$custom-light: #4c526b;
$custom-dark: #000000;
JSON
{
  "hex": "#031633",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 51
  },
  "hsl": {
    "h": 216.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20423,
    "c": 0.06325,
    "h": 257.5
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#031633
secondary
#76521C
accent
#AA29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031633

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

Preview Lab → · Contrast checker → · Palette generator →

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