#030A31#030A31

#030A31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.078 H 266.6°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#030A31
RGBrgb(3, 10, 49)
HSLhsl(231, 88%, 10%)
HSVhsv(231, 94%, 19%)
CMYKcmyk(93.9%, 79.6%, 0%, 80.8%)
CIE-LABlab(4.14, 10.85, -25.39)
CIE-LCHlch(4.14, 27.61, 293.14°)
OKLaboklab(17.17% -0.0046 -0.0779)
OKLCHoklch(17.17% 0.078 266.6)
XYZxyz(0.7003, 0.4581, 2.9566)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030A31 #312A03
analogous
#032131 #030A31 #130331
triadic
#030A31 #31030A #0A3103
tetradic
#030A31 #310321 #312A03 #033113
square
#030A31 #310321 #312A03 #033113
split-complementary
#030A31 #311303 #213103
monochromatic
#02061D #02061D #030A31 #07166B #0A22A4

Accessibility & contrast

On white

19.24
#030A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#030A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030A31
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030A31#FFFFFF#000000##FFFFFF
##030A311.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #030a31;
/* rgb */ color: rgb(3, 10, 49);
/* oklch */ color: oklch(17.2% 0.078 266.6);
Tailwind
colors: {
  custom: {
    50: '#4a4b69',
    500: '#030a31',
    950: '#000000',
  },
}
SCSS
$custom: #030a31;
$custom-light: #4a4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#030a31",
  "rgb": {
    "r": 3,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 230.87,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17167,
    "c": 0.07807,
    "h": 266.6
  },
  "luminance": 0.00458
}

Semantic roles & 50–950 ramp

primary
#030A31
secondary
#74671B
accent
#DE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030A31

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

Preview Lab → · Contrast checker → · Palette generator →

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