#030C2B#030C2B

#030C2B is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 16.9% C 0.065 H 264.7°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#030C2B
RGBrgb(3, 12, 43)
HSLhsl(227, 87%, 9%)
HSVhsv(227, 93%, 17%)
CMYKcmyk(93%, 72.1%, 0%, 83.1%)
CIE-LABlab(4.12, 7.00, -20.92)
CIE-LCHlch(4.12, 22.06, 288.51°)
OKLaboklab(16.95% -0.006 -0.0648)
OKLCHoklch(16.95% 0.065 264.7)
XYZxyz(0.6049, 0.4566, 2.3413)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C2B #2B2203
analogous
#03202B #030C2B #0E032B
triadic
#030C2B #2B030C #0C2B03
tetradic
#030C2B #2B0320 #2B2203 #032B0E
square
#030C2B #2B0320 #2B2203 #032B0E
split-complementary
#030C2B #2B0E03 #202B03
monochromatic
#02081D #02081D #030C2B #071C64 #0B2C9D

Accessibility & contrast

On white

19.24
#030C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030C2B
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C2B#FFFFFF#000000##FFFFFF
##030C2B1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#001419
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #030c2b;
/* rgb */ color: rgb(3, 12, 43);
/* oklch */ color: oklch(16.9% 0.065 264.7);
Tailwind
colors: {
  custom: {
    50: '#494c64',
    500: '#030c2b',
    950: '#000000',
  },
}
SCSS
$custom: #030c2b;
$custom-light: #494c64;
$custom-dark: #000000;
JSON
{
  "hex": "#030c2b",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 226.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16947,
    "c": 0.0651,
    "h": 264.7
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#030C2B
secondary
#6F5C1B
accent
#CE2BFD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #030C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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