#030C2C#030C2C

#030C2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.1% C 0.067 H 264.9°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#030C2C
RGBrgb(3, 12, 44)
HSLhsl(227, 87%, 9%)
HSVhsv(227, 93%, 17%)
CMYKcmyk(93.2%, 72.7%, 0%, 82.7%)
CIE-LABlab(4.19, 7.47, -21.57)
CIE-LCHlch(4.19, 22.82, 289.11°)
OKLaboklab(17.06% -0.0059 -0.0665)
OKLCHoklch(17.06% 0.067 264.9)
XYZxyz(0.6235, 0.4641, 2.4391)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C2C #2C2303
analogous
#03212C #030C2C #0F032C
triadic
#030C2C #2C030C #0C2C03
tetradic
#030C2C #2C0321 #2C2303 #032C0F
square
#030C2C #2C0321 #2C2303 #032C0F
split-complementary
#030C2C #2C0F03 #212C03
monochromatic
#02081D #02081D #030C2C #071C65 #0B2B9F

Accessibility & contrast

On white

19.22
#030C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030C2C
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C2C#FFFFFF#000000##FFFFFF
##030C2C1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030c2c;
/* rgb */ color: rgb(3, 12, 44);
/* oklch */ color: oklch(17.1% 0.067 264.9);
Tailwind
colors: {
  custom: {
    50: '#494c65',
    500: '#030c2c',
    950: '#000000',
  },
}
SCSS
$custom: #030c2c;
$custom-light: #494c65;
$custom-dark: #000000;
JSON
{
  "hex": "#030c2c",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 226.829,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17057,
    "c": 0.0668,
    "h": 264.9
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#030C2C
secondary
#705D1B
accent
#CF2AFD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #030C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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