#030128#030128

#030128 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.4% C 0.081 H 272.0°. Best body text is #FFFFFF at 20.22:1 contrast (WCAG AA passes).

Color values

HEX#030128
RGBrgb(3, 1, 40)
HSLhsl(243, 95%, 8%)
HSVhsv(243, 98%, 16%)
CMYKcmyk(92.5%, 97.5%, 0%, 84.3%)
CIE-LABlab(1.75, 10.11, -22.35)
CIE-LCHlch(1.75, 24.53, 294.33°)
OKLaboklab(13.4% 0.0029 -0.081)
OKLCHoklch(13.4% 0.081 272)
XYZxyz(0.4313, 0.1942, 2.0218)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030128 #262801
analogous
#011228 #030128 #160128
triadic
#030128 #280301 #012803
tetradic
#030128 #280112 #262801 #012816
square
#030128 #280112 #262801 #012816
split-complementary
#030128 #281601 #122801
monochromatic
#02011E #02011E #030128 #070264 #0C049F

Accessibility & contrast

On white

20.22
#030128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#030128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030128
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030128#FFFFFF#000000##FFFFFF
##0301281.0020.221.0420.22
#FFFFFF20.221.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000829
Deuteranopia (green-blind)
#000527
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #030128;
/* rgb */ color: rgb(3, 1, 40);
/* oklch */ color: oklch(13.4% 0.081 272.0);
Tailwind
colors: {
  custom: {
    50: '#484762',
    500: '#030128',
    950: '#000000',
  },
}
SCSS
$custom: #030128;
$custom-light: #484762;
$custom-dark: #000000;
JSON
{
  "hex": "#030128",
  "rgb": {
    "r": 3,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 243.077,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.13401,
    "c": 0.08101,
    "h": 272
  },
  "luminance": 0.00194
}

Semantic roles & 50–950 ramp

primary
#030128
secondary
#6A6F16
accent
#FF29F4
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #030128

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

Preview Lab → · Contrast checker → · Palette generator →

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