#05072D#05072D

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

Color values

HEX#05072D
RGBrgb(5, 7, 45)
HSLhsl(237, 80%, 10%)
HSVhsv(237, 89%, 18%)
CMYKcmyk(88.9%, 84.4%, 0%, 82.4%)
CIE-LABlab(3.37, 10.53, -23.61)
CIE-LCHlch(3.37, 25.85, 294.04°)
OKLaboklab(16.15% 0.0019 -0.0752)
OKLCHoklch(16.15% 0.075 271.4)
XYZxyz(0.6121, 0.3736, 2.5220)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05072D #2D2B05
analogous
#051B2D #05072D #17052D
triadic
#05072D #2D0507 #072D05
tetradic
#05072D #2D051B #2D2B05 #052D17
square
#05072D #2D051B #2D2B05 #052D17
split-complementary
#05072D #2D1705 #1B2D05
monochromatic
#03041C #03041C #05072D #0B1064 #11189B

Accessibility & contrast

On white

19.54
#05072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#05072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05072D
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05072D#FFFFFF#000000##FFFFFF
##05072D1.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05072d;
/* rgb */ color: rgb(5, 7, 45);
/* oklch */ color: oklch(16.2% 0.075 271.4);
Tailwind
colors: {
  custom: {
    50: '#4a4966',
    500: '#05072d',
    950: '#000000',
  },
}
SCSS
$custom: #05072d;
$custom-light: #4a4966;
$custom-dark: #000000;
JSON
{
  "hex": "#05072d",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 237,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16154,
    "c": 0.07519,
    "h": 271.4
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#05072D
secondary
#6F6B1F
accent
#ED31F6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010106
muted
#77777A

Preview Lab

Preview with #05072D

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

Preview Lab → · Contrast checker → · Palette generator →

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