#031B2E#031B2E

#031B2E is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.048 H 245.2°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#031B2E
RGBrgb(3, 27, 46)
HSLhsl(207, 88%, 10%)
HSVhsv(207, 93%, 18%)
CMYKcmyk(93.5%, 41.3%, 0%, 82%)
CIE-LABlab(8.99, -1.09, -15.43)
CIE-LCHlch(8.99, 15.47, 265.98°)
OKLaboklab(21.46% -0.0203 -0.0439)
OKLCHoklch(21.46% 0.048 245.2)
XYZxyz(0.9224, 1.0004, 2.7287)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B2E #2E1603
analogous
#032E2C #031B2E #03052E
triadic
#031B2E #2E031B #1B2E03
tetradic
#031B2E #2C032E #2E1603 #052E03
square
#031B2E #2C032E #2E1603 #052E03
split-complementary
#031B2E #2E0305 #2E2C03
monochromatic
#02111D #02111D #031B2E #073D67 #0A5EA1

Accessibility & contrast

On white

17.50
#031B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B2E
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B2E#FFFFFF#000000##FFFFFF
##031B2E1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031b2e;
/* rgb */ color: rgb(3, 27, 46);
/* oklch */ color: oklch(21.5% 0.048 245.2);
Tailwind
colors: {
  custom: {
    50: '#4a5666',
    500: '#031b2e',
    950: '#000000',
  },
}
SCSS
$custom: #031b2e;
$custom-light: #4a5666;
$custom-dark: #000000;
JSON
{
  "hex": "#031b2e",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 206.512,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21464,
    "c": 0.04837,
    "h": 245.2
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#031B2E
secondary
#72411B
accent
#882AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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