#030028#030028

#030028 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.0% C 0.084 H 272.4°. Best body text is #FFFFFF at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#030028
RGBrgb(3, 0, 40)
HSLhsl(245, 100%, 8%)
HSVhsv(245, 100%, 16%)
CMYKcmyk(92.5%, 100%, 0%, 84.3%)
CIE-LABlab(1.56, 10.51, -22.66)
CIE-LCHlch(1.56, 24.97, 294.88°)
OKLaboklab(13.03% 0.0035 -0.0835)
OKLCHoklch(13.03% 0.084 272.4)
XYZxyz(0.4204, 0.1725, 2.0182)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030028 #252800
analogous
#001128 #030028 #170028
triadic
#030028 #280300 #002803
tetradic
#030028 #280011 #252800 #002817
square
#030028 #280011 #252800 #002817
split-complementary
#030028 #281700 #112800
monochromatic
#02001F #02001F #030028 #080065 #0C00A2

Accessibility & contrast

On white

20.30
#030028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030028
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030028#FFFFFF#000000##FFFFFF
##0300281.0020.301.0320.30
#FFFFFF20.301.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000729
Deuteranopia (green-blind)
#000427
Tritanopia (blue-blind)
#000A13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #030028;
/* rgb */ color: rgb(3, 0, 40);
/* oklch */ color: oklch(13.0% 0.084 272.4);
Tailwind
colors: {
  custom: {
    50: '#484662',
    500: '#030028',
    950: '#000000',
  },
}
SCSS
$custom: #030028;
$custom-light: #484662;
$custom-dark: #000000;
JSON
{
  "hex": "#030028",
  "rgb": {
    "r": 3,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 244.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13025,
    "c": 0.08359,
    "h": 272.4
  },
  "luminance": 0.00173
}

Semantic roles & 50–950 ramp

primary
#030028
secondary
#697014
accent
#FF29EF
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #030028

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

Preview Lab → · Contrast checker → · Palette generator →

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