#022831#022831

#022831 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.6% C 0.044 H 217.6°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#022831
RGBrgb(2, 40, 49)
HSLhsl(191, 92%, 10%)
HSVhsv(191, 96%, 19%)
CMYKcmyk(95.9%, 18.4%, 0%, 80.8%)
CIE-LABlab(14.13, -9.14, -9.60)
CIE-LCHlch(14.13, 13.25, 226.42°)
OKLaboklab(25.6% -0.0349 -0.0269)
OKLCHoklch(25.6% 0.044 217.6)
XYZxyz(1.3380, 1.7521, 3.1728)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022831 #310B02
analogous
#023122 #022831 #021131
triadic
#022831 #310228 #283102
tetradic
#022831 #220231 #310B02 #113102
square
#022831 #220231 #310B02 #113102
split-complementary
#022831 #310211 #312202
monochromatic
#01181D #01181D #022831 #04586C #0788A7

Accessibility & contrast

On white

15.55
#022831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#022831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022831
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022831#FFFFFF#000000##FFFFFF
##0228311.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222631
Deuteranopia (green-blind)
#1C2231
Tritanopia (blue-blind)
#002B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #022831;
/* rgb */ color: rgb(2, 40, 49);
/* oklch */ color: oklch(25.6% 0.044 217.6);
Tailwind
colors: {
  custom: {
    50: '#4c6269',
    500: '#022831',
    950: '#000000',
  },
}
SCSS
$custom: #022831;
$custom-light: #4c6269;
$custom-dark: #000000;
JSON
{
  "hex": "#022831",
  "rgb": {
    "r": 2,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 191.489,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.25604,
    "c": 0.04407,
    "h": 217.6
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#022831
secondary
#752B19
accent
#5229FF
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#010506
muted
#77797A

Preview Lab

Preview with #022831

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

Preview Lab → · Contrast checker → · Palette generator →

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