#031E2A#031E2A

#031E2A is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.040 H 230.7°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#031E2A
RGBrgb(3, 30, 42)
HSLhsl(198, 87%, 9%)
HSVhsv(198, 93%, 16%)
CMYKcmyk(92.9%, 28.6%, 0%, 83.5%)
CIE-LABlab(9.91, -5.16, -11.06)
CIE-LCHlch(9.91, 12.20, 244.99°)
OKLaboklab(22.12% -0.0255 -0.0311)
OKLCHoklch(22.12% 0.04 230.7)
XYZxyz(0.9196, 1.1150, 2.3568)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E2A #2A0F03
analogous
#032A23 #031E2A #030B2A
triadic
#031E2A #2A031E #1E2A03
tetradic
#031E2A #23032A #2A0F03 #0B2A03
square
#031E2A #23032A #2A0F03 #0B2A03
split-complementary
#031E2A #2A030B #2A2303
monochromatic
#02141D #02141D #031E2A #074763 #0B709C

Accessibility & contrast

On white

17.17
#031E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#031E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E2A
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E2A#FFFFFF#000000##FFFFFF
##031E2A1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D2B
Deuteranopia (green-blind)
#121A2A
Tritanopia (blue-blind)
#002122
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031e2a;
/* rgb */ color: rgb(3, 30, 42);
/* oklch */ color: oklch(22.1% 0.040 230.7);
Tailwind
colors: {
  custom: {
    50: '#495963',
    500: '#031e2a',
    950: '#000000',
  },
}
SCSS
$custom: #031e2a;
$custom-light: #495963;
$custom-dark: #000000;
JSON
{
  "hex": "#031e2a",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 198.462,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.22115,
    "c": 0.04025,
    "h": 230.7
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#031E2A
secondary
#6E341B
accent
#6C2BFD
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #031E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#031E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva