#05032F#05032F

#05032F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.4% C 0.085 H 273.1°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#05032F
RGBrgb(5, 3, 47)
HSLhsl(243, 88%, 10%)
HSVhsv(243, 94%, 18%)
CMYKcmyk(89.4%, 93.6%, 0%, 81.6%)
CIE-LABlab(2.73, 13.13, -26.13)
CIE-LCHlch(2.73, 29.24, 296.67°)
OKLaboklab(15.37% 0.0046 -0.0853)
OKLCHoklch(15.37% 0.085 273.1)
XYZxyz(0.6081, 0.3026, 2.7151)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05032F #2D2F03
analogous
#03172F #05032F #1B032F
triadic
#05032F #2F0503 #032F05
tetradic
#05032F #2F0317 #2D2F03 #032F1B
square
#05032F #2F0317 #2D2F03 #032F1B
split-complementary
#05032F #2F1B03 #172F03
monochromatic
#03021D #03021D #05032F #0B0769 #110AA2

Accessibility & contrast

On white

19.80
#05032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#05032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05032F
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05032F#FFFFFF#000000##FFFFFF
##05032F1.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00082E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #05032f;
/* rgb */ color: rgb(5, 3, 47);
/* oklch */ color: oklch(15.4% 0.085 273.1);
Tailwind
colors: {
  custom: {
    50: '#4a4868',
    500: '#05032f',
    950: '#000000',
  },
}
SCSS
$custom: #05032f;
$custom-light: #4a4868;
$custom-dark: #000000;
JSON
{
  "hex": "#05032f",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 242.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1537,
    "c": 0.08547,
    "h": 273.1
  },
  "luminance": 0.00303
}

Semantic roles & 50–950 ramp

primary
#05032F
secondary
#6F731B
accent
#FE2AF4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #05032F

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

Preview Lab → · Contrast checker → · Palette generator →

#05032F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva