#030B31#030B31

#030B31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.077 H 266.1°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#030B31
RGBrgb(3, 11, 49)
HSLhsl(230, 88%, 10%)
HSVhsv(230, 94%, 19%)
CMYKcmyk(93.9%, 77.6%, 0%, 80.8%)
CIE-LABlab(4.34, 10.44, -25.07)
CIE-LCHlch(4.34, 27.16, 292.60°)
OKLaboklab(17.39% -0.0052 -0.0764)
OKLCHoklch(17.39% 0.077 266.1)
XYZxyz(0.7114, 0.4804, 2.9604)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030B31 #312903
analogous
#032231 #030B31 #120331
triadic
#030B31 #31030B #0B3103
tetradic
#030B31 #310322 #312903 #033112
square
#030B31 #310322 #312903 #033112
split-complementary
#030B31 #311203 #223103
monochromatic
#02061D #02061D #030B31 #07186B #0A25A4

Accessibility & contrast

On white

19.16
#030B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030B31
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030B31#FFFFFF#000000##FFFFFF
##030B311.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030b31;
/* rgb */ color: rgb(3, 11, 49);
/* oklch */ color: oklch(17.4% 0.077 266.1);
Tailwind
colors: {
  custom: {
    50: '#4a4b69',
    500: '#030b31',
    950: '#000000',
  },
}
SCSS
$custom: #030b31;
$custom-light: #4a4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#030b31",
  "rgb": {
    "r": 3,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 229.565,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17392,
    "c": 0.07662,
    "h": 266.1
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#030B31
secondary
#74651B
accent
#D929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030B31

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

Preview Lab → · Contrast checker → · Palette generator →

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