#030C41#030C41

#030C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.100 H 266.1°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#030C41
RGBrgb(3, 12, 65)
HSLhsl(231, 91%, 13%)
HSVhsv(231, 95%, 25%)
CMYKcmyk(95.4%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.00, 19.06, -34.02)
CIE-LCHlch(6.00, 39.00, 299.26°)
OKLaboklab(19.6% -0.0068 -0.0996)
OKLCHoklch(19.6% 0.1 266.1)
XYZxyz(1.1228, 0.6638, 5.0690)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C41 #413803
analogous
#032B41 #030C41 #190341
triadic
#030C41 #41030C #0C4103
tetradic
#030C41 #41032B #413803 #034119
square
#030C41 #41032B #413803 #034119
split-complementary
#030C41 #411903 #2B4103
monochromatic
#01051D #01051D #030C41 #06177B #0822B6

Accessibility & contrast

On white

18.54
#030C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#030C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030C41
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C41#FFFFFF#000000##FFFFFF
##030C411.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001040
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #030c41;
/* rgb */ color: rgb(3, 12, 65);
/* oklch */ color: oklch(19.6% 0.100 266.1);
Tailwind
colors: {
  custom: {
    50: '#514b76',
    500: '#030c41',
    950: '#000000',
  },
}
SCSS
$custom: #030c41;
$custom-light: #514b76;
$custom-dark: #000000;
JSON
{
  "hex": "#030c41",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 231.29,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19597,
    "c": 0.09989,
    "h": 266.1
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#030C41
secondary
#83741D
accent
#E029FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #030C41

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

Preview Lab → · Contrast checker → · Palette generator →

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