#02052D#02052D

#02052D is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.081 H 267.4°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#02052D
RGBrgb(2, 5, 45)
HSLhsl(236, 91%, 9%)
HSVhsv(236, 96%, 18%)
CMYKcmyk(95.6%, 88.9%, 0%, 82.4%)
CIE-LABlab(2.81, 10.54, -24.52)
CIE-LCHlch(2.81, 26.69, 293.27°)
OKLaboklab(15.3% -0.0036 -0.0805)
OKLCHoklch(15.3% 0.081 267.4)
XYZxyz(0.5528, 0.3108, 2.5130)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02052D #2D2A02
analogous
#021B2D #02052D #15022D
triadic
#02052D #2D0205 #052D02
tetradic
#02052D #2D021B #2D2A02 #022D15
square
#02052D #2D021B #2D2A02 #022D15
split-complementary
#02052D #2D1502 #1B2D02
monochromatic
#01031D #01031D #02052D #050C68 #0712A2

Accessibility & contrast

On white

19.77
#02052D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#02052D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02052D
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02052D#FFFFFF#000000##FFFFFF
##02052D1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#00082C
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #02052d;
/* rgb */ color: rgb(2, 5, 45);
/* oklch */ color: oklch(15.3% 0.081 267.4);
Tailwind
colors: {
  custom: {
    50: '#484966',
    500: '#02052d',
    950: '#000000',
  },
}
SCSS
$custom: #02052d;
$custom-light: #484966;
$custom-dark: #000000;
JSON
{
  "hex": "#02052d",
  "rgb": {
    "r": 2,
    "g": 5,
    "b": 45
  },
  "hsl": {
    "h": 235.814,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15295,
    "c": 0.08054,
    "h": 267.4
  },
  "luminance": 0.00311
}

Semantic roles & 50–950 ramp

primary
#02052D
secondary
#726C19
accent
#F029FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #02052D

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

Preview Lab → · Contrast checker → · Palette generator →

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