#030C2F#030C2F

#030C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.072 H 265.3°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#030C2F
RGBrgb(3, 12, 47)
HSLhsl(228, 88%, 10%)
HSVhsv(228, 94%, 18%)
CMYKcmyk(93.6%, 74.5%, 0%, 81.6%)
CIE-LABlab(4.40, 8.95, -23.48)
CIE-LCHlch(4.40, 25.13, 290.87°)
OKLaboklab(17.4% -0.0058 -0.0716)
OKLCHoklch(17.4% 0.072 265.3)
XYZxyz(0.6819, 0.4875, 2.7469)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C2F #2F2603
analogous
#03222F #030C2F #10032F
triadic
#030C2F #2F030C #0C2F03
tetradic
#030C2F #2F0322 #2F2603 #032F10
square
#030C2F #2F0322 #2F2603 #032F10
split-complementary
#030C2F #2F1003 #222F03
monochromatic
#02071D #02071D #030C2F #071B69 #0A29A2

Accessibility & contrast

On white

19.13
#030C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#030C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030C2F
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C2F#FFFFFF#000000##FFFFFF
##030C2F1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #030c2f;
/* rgb */ color: rgb(3, 12, 47);
/* oklch */ color: oklch(17.4% 0.072 265.3);
Tailwind
colors: {
  custom: {
    50: '#4a4c68',
    500: '#030c2f',
    950: '#000000',
  },
}
SCSS
$custom: #030c2f;
$custom-light: #4a4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#030c2f",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 227.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17395,
    "c": 0.07185,
    "h": 265.3
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#030C2F
secondary
#73611B
accent
#D32AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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