#02082D#02082D

#02082D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.075 H 266.0°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#02082D
RGBrgb(2, 8, 45)
HSLhsl(232, 91%, 9%)
HSVhsv(232, 96%, 18%)
CMYKcmyk(95.6%, 82.2%, 0%, 82.4%)
CIE-LABlab(3.40, 9.34, -23.58)
CIE-LCHlch(3.40, 25.36, 291.61°)
OKLaboklab(16.1% -0.0053 -0.0751)
OKLCHoklch(16.1% 0.075 266)
XYZxyz(0.5854, 0.3760, 2.5238)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02082D #2D2702
analogous
#021E2D #02082D #12022D
triadic
#02082D #2D0208 #082D02
tetradic
#02082D #2D021E #2D2702 #022D12
square
#02082D #2D021E #2D2702 #022D12
split-complementary
#02082D #2D1202 #1E2D02
monochromatic
#01051D #01051D #02082D #051268 #071DA2

Accessibility & contrast

On white

19.53
#02082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#02082D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02082D
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02082D#FFFFFF#000000##FFFFFF
##02082D1.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000A2C
Tritanopia (blue-blind)
#001219
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #02082d;
/* rgb */ color: rgb(2, 8, 45);
/* oklch */ color: oklch(16.1% 0.075 266.0);
Tailwind
colors: {
  custom: {
    50: '#494a66',
    500: '#02082d',
    950: '#000000',
  },
}
SCSS
$custom: #02082d;
$custom-light: #494a66;
$custom-dark: #000000;
JSON
{
  "hex": "#02082d",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 231.628,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16095,
    "c": 0.07533,
    "h": 266
  },
  "luminance": 0.00376
}

Semantic roles & 50–950 ramp

primary
#02082D
secondary
#726519
accent
#E129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #02082D

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

Preview Lab → · Contrast checker → · Palette generator →

#02082D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva