#031732#031732

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

Color values

HEX#031732
RGBrgb(3, 23, 50)
HSLhsl(214, 89%, 10%)
HSVhsv(214, 94%, 20%)
CMYKcmyk(94%, 54%, 0%, 80.4%)
CIE-LABlab(7.79, 4.00, -20.28)
CIE-LCHlch(7.79, 20.67, 281.15°)
OKLaboklab(20.61% -0.0148 -0.0582)
OKLCHoklch(20.61% 0.06 255.7)
XYZxyz(0.9195, 0.8623, 3.1350)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031732 #321E03
analogous
#032E32 #031732 #060332
triadic
#031732 #320317 #173203
tetradic
#031732 #32032E #321E03 #033206
square
#031732 #32032E #321E03 #033206
split-complementary
#031732 #320603 #2E3203
monochromatic
#020D1D #020D1D #031732 #06326C #0A4CA5

Accessibility & contrast

On white

17.91
#031732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031732
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031732#FFFFFF#000000##FFFFFF
##0317321.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031732;
/* rgb */ color: rgb(3, 23, 50);
/* oklch */ color: oklch(20.6% 0.060 255.7);
Tailwind
colors: {
  custom: {
    50: '#4b536a',
    500: '#031732',
    950: '#000000',
  },
}
SCSS
$custom: #031732;
$custom-light: #4b536a;
$custom-dark: #000000;
JSON
{
  "hex": "#031732",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 214.468,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20614,
    "c": 0.0601,
    "h": 255.7
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#031732
secondary
#754F1B
accent
#A429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031732

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

Preview Lab → · Contrast checker → · Palette generator →

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