#030B2A#030B2A

#030B2A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.065 H 265.4°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#030B2A
RGBrgb(3, 11, 42)
HSLhsl(228, 87%, 9%)
HSVhsv(228, 93%, 16%)
CMYKcmyk(92.9%, 73.8%, 0%, 83.5%)
CIE-LABlab(3.85, 6.98, -20.60)
CIE-LCHlch(3.85, 21.75, 288.71°)
OKLaboklab(16.58% -0.0052 -0.0647)
OKLCHoklch(16.58% 0.065 265.4)
XYZxyz(0.5750, 0.4258, 2.2419)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030B2A #2A2203
analogous
#031F2A #030B2A #0F032A
triadic
#030B2A #2A030B #0B2A03
tetradic
#030B2A #2A031F #2A2203 #032A0F
square
#030B2A #2A031F #2A2203 #032A0F
split-complementary
#030B2A #2A0F03 #1F2A03
monochromatic
#02071D #02071D #030B2A #071A63 #0B299C

Accessibility & contrast

On white

19.35
#030B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030B2A
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030B2A#FFFFFF#000000##FFFFFF
##030B2A1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #030b2a;
/* rgb */ color: rgb(3, 11, 42);
/* oklch */ color: oklch(16.6% 0.065 265.4);
Tailwind
colors: {
  custom: {
    50: '#494b63',
    500: '#030b2a',
    950: '#000000',
  },
}
SCSS
$custom: #030b2a;
$custom-light: #494b63;
$custom-dark: #000000;
JSON
{
  "hex": "#030b2a",
  "rgb": {
    "r": 3,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 227.692,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16583,
    "c": 0.06496,
    "h": 265.4
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#030B2A
secondary
#6E5D1B
accent
#D22BFD
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #030B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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