#02052B#02052B

#02052B is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.077 H 267.5°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#02052B
RGBrgb(2, 5, 43)
HSLhsl(236, 91%, 9%)
HSVhsv(236, 95%, 17%)
CMYKcmyk(95.3%, 88.4%, 0%, 83.1%)
CIE-LABlab(2.67, 9.59, -23.21)
CIE-LCHlch(2.67, 25.12, 292.44°)
OKLaboklab(15.02% -0.0033 -0.0774)
OKLCHoklch(15.02% 0.077 267.5)
XYZxyz(0.5152, 0.2958, 2.3150)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02052B #2B2802
analogous
#021A2B #02052B #14022B
triadic
#02052B #2B0205 #052B02
tetradic
#02052B #2B021A #2B2802 #022B14
square
#02052B #2B021A #2B2802 #022B14
split-complementary
#02052B #2B1402 #1A2B02
monochromatic
#01031D #01031D #02052B #050C65 #0713A0

Accessibility & contrast

On white

19.83
#02052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02052B
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02052B#FFFFFF#000000##FFFFFF
##02052B1.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#00082A
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #02052b;
/* rgb */ color: rgb(2, 5, 43);
/* oklch */ color: oklch(15.0% 0.077 267.5);
Tailwind
colors: {
  custom: {
    50: '#484964',
    500: '#02052b',
    950: '#000000',
  },
}
SCSS
$custom: #02052b;
$custom-light: #484964;
$custom-dark: #000000;
JSON
{
  "hex": "#02052b",
  "rgb": {
    "r": 2,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 235.61,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15015,
    "c": 0.07746,
    "h": 267.5
  },
  "luminance": 0.00296
}

Semantic roles & 50–950 ramp

primary
#02052B
secondary
#706A19
accent
#EF29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #02052B

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

Preview Lab → · Contrast checker → · Palette generator →

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