#030024#030024

#030024 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 12.3% C 0.078 H 273.9°. Best body text is #FFFFFF at 20.40:1 contrast (WCAG AA passes).

Color values

HEX#030024
RGBrgb(3, 0, 36)
HSLhsl(245, 100%, 7%)
HSVhsv(245, 100%, 14%)
CMYKcmyk(91.7%, 100%, 0%, 85.9%)
CIE-LABlab(1.33, 8.87, -19.90)
CIE-LCHlch(1.33, 21.79, 294.01°)
OKLaboklab(12.34% 0.0053 -0.078)
OKLCHoklch(12.34% 0.078 273.9)
XYZxyz(0.3559, 0.1467, 1.6783)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030024 #212400
analogous
#000F24 #030024 #150024
triadic
#030024 #240300 #002403
tetradic
#030024 #24000F #212400 #002415
square
#030024 #24000F #212400 #002415
split-complementary
#030024 #241500 #0F2400
monochromatic
#03001F #03001F #030024 #080061 #0D009E

Accessibility & contrast

On white

20.40
#030024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#030024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030024
20.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030024#FFFFFF#000000##FFFFFF
##0300241.0020.401.0320.40
#FFFFFF20.401.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000625
Deuteranopia (green-blind)
#000423
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #030024;
/* rgb */ color: rgb(3, 0, 36);
/* oklch */ color: oklch(12.3% 0.078 273.9);
Tailwind
colors: {
  custom: {
    50: '#47475e',
    500: '#030024',
    950: '#000000',
  },
}
SCSS
$custom: #030024;
$custom-light: #47475e;
$custom-dark: #000000;
JSON
{
  "hex": "#030024",
  "rgb": {
    "r": 3,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 245,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.12339,
    "c": 0.07822,
    "h": 273.9
  },
  "luminance": 0.00147
}

Semantic roles & 50–950 ramp

primary
#030024
secondary
#656D13
accent
#FF29ED
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #030024

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

Preview Lab → · Contrast checker → · Palette generator →

#030024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva