#031835#031835

#031835 is a very dark, moderate cyan. Relative luminance 0.009; OKLCH L 21.2% C 0.064 H 256.3°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#031835
RGBrgb(3, 24, 53)
HSLhsl(215, 89%, 11%)
HSVhsv(215, 94%, 21%)
CMYKcmyk(94.3%, 54.7%, 0%, 79.2%)
CIE-LABlab(8.39, 4.67, -21.50)
CIE-LCHlch(8.39, 22.00, 282.26°)
OKLaboklab(21.16% -0.0151 -0.0618)
OKLCHoklch(21.16% 0.064 256.3)
XYZxyz(1.0066, 0.9295, 3.4938)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031835 #352003
analogous
#033135 #031835 #070335
triadic
#031835 #350318 #183503
tetradic
#031835 #350331 #352003 #033507
square
#031835 #350331 #352003 #033507
split-complementary
#031835 #350703 #313503
monochromatic
#020D1D #020D1D #031835 #06326F #0A4CA9

Accessibility & contrast

On white

17.71
#031835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031835
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031835#FFFFFF#000000##FFFFFF
##0318351.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031835;
/* rgb */ color: rgb(3, 24, 53);
/* oklch */ color: oklch(21.2% 0.064 256.3);
Tailwind
colors: {
  custom: {
    50: '#4c546c',
    500: '#031835',
    950: '#000000',
  },
}
SCSS
$custom: #031835;
$custom-light: #4c546c;
$custom-dark: #000000;
JSON
{
  "hex": "#031835",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 214.8,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21157,
    "c": 0.06361,
    "h": 256.3
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#031835
secondary
#78511C
accent
#A529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #031835

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

Preview Lab → · Contrast checker → · Palette generator →

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