#030C39#030C39

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

Color values

HEX#030C39
RGBrgb(3, 12, 57)
HSLhsl(230, 90%, 12%)
HSVhsv(230, 95%, 22%)
CMYKcmyk(94.7%, 78.9%, 0%, 77.6%)
CIE-LABlab(5.22, 14.61, -29.54)
CIE-LCHlch(5.22, 32.95, 296.32°)
OKLaboklab(18.59% -0.0061 -0.0876)
OKLCHoklch(18.59% 0.088 266)
XYZxyz(0.9073, 0.5776, 3.9338)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C39 #393003
analogous
#032739 #030C39 #150339
triadic
#030C39 #39030C #0C3903
tetradic
#030C39 #390327 #393003 #033915
square
#030C39 #390327 #393003 #033915
split-complementary
#030C39 #391503 #273903
monochromatic
#02061D #02061D #030C39 #061873 #0924AD

Accessibility & contrast

On white

18.82
#030C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030C39
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C39#FFFFFF#000000##FFFFFF
##030C391.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#001821
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030c39;
/* rgb */ color: rgb(3, 12, 57);
/* oklch */ color: oklch(18.6% 0.088 266.0);
Tailwind
colors: {
  custom: {
    50: '#4e4b70',
    500: '#030c39',
    950: '#000000',
  },
}
SCSS
$custom: #030c39;
$custom-light: #4e4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#030c39",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 230,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18586,
    "c": 0.08786,
    "h": 266
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#030C39
secondary
#7C6C1C
accent
#DB29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030C39

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

Preview Lab → · Contrast checker → · Palette generator →

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