#031935#031935

#031935 is a very dark, moderate cyan. Relative luminance 0.010; OKLCH L 21.4% C 0.062 H 255.0°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#031935
RGBrgb(3, 25, 53)
HSLhsl(214, 89%, 11%)
HSVhsv(214, 94%, 21%)
CMYKcmyk(94.3%, 52.8%, 0%, 79.2%)
CIE-LABlab(8.75, 3.87, -20.92)
CIE-LCHlch(8.75, 21.28, 280.48°)
OKLaboklab(21.44% -0.016 -0.06)
OKLCHoklch(21.44% 0.062 255)
XYZxyz(1.0275, 0.9715, 3.5008)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031935 #351F03
analogous
#033235 #031935 #060335
triadic
#031935 #350319 #193503
tetradic
#031935 #350332 #351F03 #033506
square
#031935 #350332 #351F03 #033506
split-complementary
#031935 #350603 #323503
monochromatic
#020E1D #020E1D #031935 #06346F #0A50A9

Accessibility & contrast

On white

17.58
#031935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031935
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031935#FFFFFF#000000##FFFFFF
##0319351.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B36
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031935;
/* rgb */ color: rgb(3, 25, 53);
/* oklch */ color: oklch(21.4% 0.062 255.0);
Tailwind
colors: {
  custom: {
    50: '#4c556c',
    500: '#031935',
    950: '#000000',
  },
}
SCSS
$custom: #031935;
$custom-light: #4c556c;
$custom-dark: #000000;
JSON
{
  "hex": "#031935",
  "rgb": {
    "r": 3,
    "g": 25,
    "b": 53
  },
  "hsl": {
    "h": 213.6,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21437,
    "c": 0.06216,
    "h": 255
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#031935
secondary
#784F1C
accent
#A129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #031935

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

Preview Lab → · Contrast checker → · Palette generator →

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