#030F2A#030F2A

#030F2A is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.6% C 0.059 H 261.4°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#030F2A
RGBrgb(3, 15, 42)
HSLhsl(222, 87%, 9%)
HSVhsv(222, 93%, 16%)
CMYKcmyk(92.9%, 64.3%, 0%, 83.5%)
CIE-LABlab(4.77, 5.09, -19.15)
CIE-LCHlch(4.77, 19.81, 284.88°)
OKLaboklab(17.64% -0.0087 -0.058)
OKLCHoklch(17.64% 0.059 261.4)
XYZxyz(0.6261, 0.5281, 2.2590)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F2A #2A1E03
analogous
#03232A #030F2A #0B032A
triadic
#030F2A #2A030F #0F2A03
tetradic
#030F2A #2A0323 #2A1E03 #032A0B
square
#030F2A #2A0323 #2A1E03 #032A0B
split-complementary
#030F2A #2A0B03 #232A03
monochromatic
#020A1D #020A1D #030F2A #072363 #0B389C

Accessibility & contrast

On white

18.99
#030F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#030F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030F2A
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F2A#FFFFFF#000000##FFFFFF
##030F2A1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #030f2a;
/* rgb */ color: rgb(3, 15, 42);
/* oklch */ color: oklch(17.6% 0.059 261.4);
Tailwind
colors: {
  custom: {
    50: '#494e63',
    500: '#030f2a',
    950: '#000000',
  },
}
SCSS
$custom: #030f2a;
$custom-light: #494e63;
$custom-dark: #000000;
JSON
{
  "hex": "#030f2a",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 221.538,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17639,
    "c": 0.05863,
    "h": 261.4
  },
  "luminance": 0.00528
}

Semantic roles & 50–950 ramp

primary
#030F2A
secondary
#6E541B
accent
#BC2BFD
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #030F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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