#030C2E#030C2E

#030C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.070 H 265.2°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#030C2E
RGBrgb(3, 12, 46)
HSLhsl(227, 88%, 10%)
HSVhsv(227, 93%, 18%)
CMYKcmyk(93.5%, 73.9%, 0%, 82%)
CIE-LABlab(4.33, 8.45, -22.85)
CIE-LCHlch(4.33, 24.36, 290.29°)
OKLaboklab(17.28% -0.0058 -0.0699)
OKLCHoklch(17.28% 0.07 265.2)
XYZxyz(0.6620, 0.4795, 2.6419)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C2E #2E2503
analogous
#03222E #030C2E #10032E
triadic
#030C2E #2E030C #0C2E03
tetradic
#030C2E #2E0322 #2E2503 #032E10
square
#030C2E #2E0322 #2E2503 #032E10
split-complementary
#030C2E #2E1003 #222E03
monochromatic
#02071D #02071D #030C2E #071B67 #0A2AA1

Accessibility & contrast

On white

19.16
#030C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030C2E
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C2E#FFFFFF#000000##FFFFFF
##030C2E1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #030c2e;
/* rgb */ color: rgb(3, 12, 46);
/* oklch */ color: oklch(17.3% 0.070 265.2);
Tailwind
colors: {
  custom: {
    50: '#4a4c67',
    500: '#030c2e',
    950: '#000000',
  },
}
SCSS
$custom: #030c2e;
$custom-light: #4a4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#030c2e",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 227.442,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17281,
    "c": 0.07018,
    "h": 265.2
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#030C2E
secondary
#72601B
accent
#D22AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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