#030C2D#030C2D

#030C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.069 H 265.1°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#030C2D
RGBrgb(3, 12, 45)
HSLhsl(227, 88%, 9%)
HSVhsv(227, 93%, 18%)
CMYKcmyk(93.3%, 73.3%, 0%, 82.4%)
CIE-LABlab(4.26, 7.95, -22.21)
CIE-LCHlch(4.26, 23.59, 289.70°)
OKLaboklab(17.17% -0.0059 -0.0682)
OKLCHoklch(17.17% 0.069 265.1)
XYZxyz(0.6425, 0.4717, 2.5393)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C2D #2D2403
analogous
#03212D #030C2D #0F032D
triadic
#030C2D #2D030C #0C2D03
tetradic
#030C2D #2D0321 #2D2403 #032D0F
square
#030C2D #2D0321 #2D2403 #032D0F
split-complementary
#030C2D #2D0F03 #212D03
monochromatic
#02081D #02081D #030C2D #071B66 #0B2BA0

Accessibility & contrast

On white

19.19
#030C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#030C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030C2D
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C2D#FFFFFF#000000##FFFFFF
##030C2D1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #030c2d;
/* rgb */ color: rgb(3, 12, 45);
/* oklch */ color: oklch(17.2% 0.069 265.1);
Tailwind
colors: {
  custom: {
    50: '#494c66',
    500: '#030c2d',
    950: '#000000',
  },
}
SCSS
$custom: #030c2d;
$custom-light: #494c66;
$custom-dark: #000000;
JSON
{
  "hex": "#030c2d",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 227.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17169,
    "c": 0.0685,
    "h": 265.1
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#030C2D
secondary
#715E1B
accent
#D02AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030C2D

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

Preview Lab → · Contrast checker → · Palette generator →

#030C2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva