#031833#031833

#031833 is a very dark, moderate cyan. Relative luminance 0.009; OKLCH L 21.0% C 0.060 H 255.0°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#031833
RGBrgb(3, 24, 51)
HSLhsl(214, 89%, 11%)
HSVhsv(214, 94%, 20%)
CMYKcmyk(94.1%, 52.9%, 0%, 80%)
CIE-LABlab(8.23, 3.69, -20.30)
CIE-LCHlch(8.23, 20.64, 280.30°)
OKLaboklab(20.98% -0.0156 -0.0583)
OKLCHoklch(20.98% 0.06 255)
XYZxyz(0.9615, 0.9115, 3.2566)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031833 #331E03
analogous
#033033 #031833 #060333
triadic
#031833 #330318 #183303
tetradic
#031833 #330330 #331E03 #033306
square
#031833 #330330 #331E03 #033306
split-complementary
#031833 #330603 #303303
monochromatic
#020E1D #020E1D #031833 #06336D #0A4EA7

Accessibility & contrast

On white

17.76
#031833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031833
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031833#FFFFFF#000000##FFFFFF
##0318331.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A34
Deuteranopia (green-blind)
#021632
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031833;
/* rgb */ color: rgb(3, 24, 51);
/* oklch */ color: oklch(21.0% 0.060 255.0);
Tailwind
colors: {
  custom: {
    50: '#4c546b',
    500: '#031833',
    950: '#000000',
  },
}
SCSS
$custom: #031833;
$custom-light: #4c546b;
$custom-dark: #000000;
JSON
{
  "hex": "#031833",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 213.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20983,
    "c": 0.06031,
    "h": 255
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#031833
secondary
#764F1C
accent
#A129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031833

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

Preview Lab → · Contrast checker → · Palette generator →

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