#05023B#05023B

#05023B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.104 H 270.7°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#05023B
RGBrgb(5, 2, 59)
HSLhsl(243, 93%, 12%)
HSVhsv(243, 97%, 23%)
CMYKcmyk(91.5%, 96.6%, 0%, 76.9%)
CIE-LABlab(3.53, 20.53, -33.71)
CIE-LCHlch(3.53, 39.47, 301.33°)
OKLaboklab(16.93% 0.0012 -0.1037)
OKLCHoklch(16.93% 0.104 270.7)
XYZxyz(0.8734, 0.3913, 4.1663)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05023B #383B02
analogous
#021C3B #05023B #22023B
triadic
#05023B #3B0502 #023B05
tetradic
#05023B #3B021C #383B02 #023B22
square
#05023B #3B021C #383B02 #023B22
split-complementary
#05023B #3B2202 #1C3B02
monochromatic
#03011E #03011E #05023B #0A0476 #0F06B1

Accessibility & contrast

On white

19.48
#05023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#05023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05023B
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05023B#FFFFFF#000000##FFFFFF
##05023B1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103D
Deuteranopia (green-blind)
#000A3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #05023b;
/* rgb */ color: rgb(5, 2, 59);
/* oklch */ color: oklch(16.9% 0.104 270.7);
Tailwind
colors: {
  custom: {
    50: '#4f4672',
    500: '#05023b',
    950: '#000000',
  },
}
SCSS
$custom: #05023b;
$custom-light: #4f4672;
$custom-dark: #000000;
JSON
{
  "hex": "#05023b",
  "rgb": {
    "r": 5,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 243.158,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.16929,
    "c": 0.10374,
    "h": 270.7
  },
  "luminance": 0.00391
}

Semantic roles & 50–950 ramp

primary
#05023B
secondary
#797E1A
accent
#FF29F4
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #05023B

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

Preview Lab → · Contrast checker → · Palette generator →

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