#030C31#030C31

#030C31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.075 H 265.5°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#030C31
RGBrgb(3, 12, 49)
HSLhsl(228, 88%, 10%)
HSVhsv(228, 94%, 19%)
CMYKcmyk(93.9%, 75.5%, 0%, 80.8%)
CIE-LABlab(4.55, 10.00, -24.73)
CIE-LCHlch(4.55, 26.68, 292.02°)
OKLaboklab(17.63% -0.0058 -0.0749)
OKLCHoklch(17.63% 0.075 265.5)
XYZxyz(0.7232, 0.5040, 2.9643)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030C31 #312803
analogous
#032331 #030C31 #110331
triadic
#030C31 #31030C #0C3103
tetradic
#030C31 #310323 #312803 #033111
square
#030C31 #310323 #312803 #033111
split-complementary
#030C31 #311103 #233103
monochromatic
#02071D #02071D #030C31 #071A6B #0A28A4

Accessibility & contrast

On white

19.08
#030C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030C31
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030C31#FFFFFF#000000##FFFFFF
##030C311.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #030c31;
/* rgb */ color: rgb(3, 12, 49);
/* oklch */ color: oklch(17.6% 0.075 265.5);
Tailwind
colors: {
  custom: {
    50: '#4a4c69',
    500: '#030c31',
    950: '#000000',
  },
}
SCSS
$custom: #030c31;
$custom-light: #4a4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#030c31",
  "rgb": {
    "r": 3,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 228.261,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17625,
    "c": 0.07515,
    "h": 265.5
  },
  "luminance": 0.00504
}

Semantic roles & 50–950 ramp

primary
#030C31
secondary
#74631B
accent
#D529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030C31

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

Preview Lab → · Contrast checker → · Palette generator →

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