#02182C#02182C

#02182C is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.3% C 0.050 H 247.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#02182C
RGBrgb(2, 24, 44)
HSLhsl(209, 91%, 9%)
HSVhsv(209, 95%, 17%)
CMYKcmyk(95.5%, 45.5%, 0%, 82.7%)
CIE-LABlab(7.66, 0.01, -16.08)
CIE-LCHlch(7.66, 16.08, 270.03°)
OKLaboklab(20.35% -0.0189 -0.0459)
OKLCHoklch(20.35% 0.05 247.7)
XYZxyz(0.8061, 0.8479, 2.5036)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02182C #2C1602
analogous
#022C2B #02182C #02032C
triadic
#02182C #2C0218 #182C02
tetradic
#02182C #2B022C #2C1602 #032C02
square
#02182C #2B022C #2C1602 #032C02
split-complementary
#02182C #2C0203 #2C2B02
monochromatic
#01101D #01101D #02182C #053867 #0758A1

Accessibility & contrast

On white

17.95
#02182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#02182C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02182C
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02182C#FFFFFF#000000##FFFFFF
##02182C1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192D
Deuteranopia (green-blind)
#08152C
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #02182c;
/* rgb */ color: rgb(2, 24, 44);
/* oklch */ color: oklch(20.3% 0.050 247.7);
Tailwind
colors: {
  custom: {
    50: '#495465',
    500: '#02182c',
    950: '#000000',
  },
}
SCSS
$custom: #02182c;
$custom-light: #495465;
$custom-dark: #000000;
JSON
{
  "hex": "#02182c",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 208.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20348,
    "c": 0.04962,
    "h": 247.7
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#02182C
secondary
#714319
accent
#8F29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02182C

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

Preview Lab → · Contrast checker → · Palette generator →

#02182C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva