#030C3A#030C3A

#030C3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.089 H 266.0°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#030C3A
RGBrgb(3, 12, 58)
HSLhsl(230, 90%, 12%)
HSVhsv(230, 95%, 23%)
CMYKcmyk(94.8%, 79.3%, 0%, 77.3%)
CIE-LABlab(5.31, 15.19, -30.11)
CIE-LCHlch(5.31, 33.73, 296.77°)
OKLaboklab(18.71% -0.0062 -0.0892)
OKLCHoklch(18.71% 0.089 266)
XYZxyz(0.9325, 0.5877, 4.0665)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C3A #3A3103
analogous
#03283A #030C3A #16033A
triadic
#030C3A #3A030C #0C3A03
tetradic
#030C3A #3A0328 #3A3103 #033A16
square
#030C3A #3A0328 #3A3103 #033A16
split-complementary
#030C3A #3A1603 #283A03
monochromatic
#02061D #02061D #030C3A #061874 #0924AE

Accessibility & contrast

On white

18.79
#030C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#030C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030C3A
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C3A#FFFFFF#000000##FFFFFF
##030C3A1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#000F39
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #030c3a;
/* rgb */ color: rgb(3, 12, 58);
/* oklch */ color: oklch(18.7% 0.089 266.0);
Tailwind
colors: {
  custom: {
    50: '#4e4b71',
    500: '#030c3a',
    950: '#000000',
  },
}
SCSS
$custom: #030c3a;
$custom-light: #4e4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#030c3a",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 230.182,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1871,
    "c": 0.0894,
    "h": 266
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#030C3A
secondary
#7D6D1C
accent
#DC29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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