#021830#021830

#021830 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.056 H 251.7°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#021830
RGBrgb(2, 24, 48)
HSLhsl(211, 92%, 10%)
HSVhsv(211, 96%, 19%)
CMYKcmyk(95.8%, 50%, 0%, 81.2%)
CIE-LABlab(7.94, 1.98, -18.57)
CIE-LCHlch(7.94, 18.68, 276.09°)
OKLaboklab(20.67% -0.0176 -0.0532)
OKLCHoklch(20.67% 0.056 251.7)
XYZxyz(0.8850, 0.8795, 2.9188)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021830 #301A02
analogous
#022F30 #021830 #030230
triadic
#021830 #300218 #183002
tetradic
#021830 #30022F #301A02 #023003
square
#021830 #30022F #301A02 #023003
split-complementary
#021830 #300302 #2F3002
monochromatic
#010F1D #010F1D #021830 #04356B #0753A6

Accessibility & contrast

On white

17.86
#021830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021830
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021830#FFFFFF#000000##FFFFFF
##0218301.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#041530
Tritanopia (blue-blind)
#001E21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021830;
/* rgb */ color: rgb(2, 24, 48);
/* oklch */ color: oklch(20.7% 0.056 251.7);
Tailwind
colors: {
  custom: {
    50: '#4a5468',
    500: '#021830',
    950: '#000000',
  },
}
SCSS
$custom: #021830;
$custom-light: #4a5468;
$custom-dark: #000000;
JSON
{
  "hex": "#021830",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 211.304,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20669,
    "c": 0.05603,
    "h": 251.7
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#021830
secondary
#754919
accent
#9929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021830

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

Preview Lab → · Contrast checker → · Palette generator →

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