#05002B#05002B

#05002B is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.8% C 0.086 H 275.7°. Best body text is #FFFFFF at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#05002B
RGBrgb(5, 0, 43)
HSLhsl(247, 100%, 8%)
HSVhsv(247, 100%, 17%)
CMYKcmyk(88.4%, 100%, 0%, 83.1%)
CIE-LABlab(1.87, 12.38, -24.47)
CIE-LCHlch(1.87, 27.42, 296.83°)
OKLaboklab(13.83% 0.0087 -0.086)
OKLCHoklch(13.83% 0.086 275.7)
XYZxyz(0.4985, 0.2066, 2.2986)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05002B #262B00
analogous
#00102B #05002B #1A002B
triadic
#05002B #2B0500 #002B05
tetradic
#05002B #2B0010 #262B00 #002B1A
square
#05002B #2B0010 #262B00 #002B1A
split-complementary
#05002B #2B1A00 #102B00
monochromatic
#04001F #04001F #05002B #0C0068 #1300A5

Accessibility & contrast

On white

20.17
#05002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#05002B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05002B
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05002B#FFFFFF#000000##FFFFFF
##05002B1.0020.171.0420.17
#FFFFFF20.171.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00082C
Deuteranopia (green-blind)
#00052A
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #05002b;
/* rgb */ color: rgb(5, 0, 43);
/* oklch */ color: oklch(13.8% 0.086 275.7);
Tailwind
colors: {
  custom: {
    50: '#494664',
    500: '#05002b',
    950: '#000000',
  },
}
SCSS
$custom: #05002b;
$custom-light: #494664;
$custom-dark: #000000;
JSON
{
  "hex": "#05002b",
  "rgb": {
    "r": 5,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 246.977,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.13829,
    "c": 0.0864,
    "h": 275.7
  },
  "luminance": 0.00207
}

Semantic roles & 50–950 ramp

primary
#05002B
secondary
#687314
accent
#FF29E6
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #05002B

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

Preview Lab → · Contrast checker → · Palette generator →

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