#030F2D#030F2D

#030F2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.064 H 262.5°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#030F2D
RGBrgb(3, 15, 45)
HSLhsl(223, 88%, 9%)
HSVhsv(223, 93%, 18%)
CMYKcmyk(93.3%, 66.7%, 0%, 82.4%)
CIE-LABlab(4.97, 6.50, -21.08)
CIE-LCHlch(4.97, 22.06, 287.14°)
OKLaboklab(17.94% -0.0083 -0.0633)
OKLCHoklch(17.94% 0.064 262.5)
XYZxyz(0.6819, 0.5504, 2.5524)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F2D #2D2103
analogous
#03242D #030F2D #0C032D
triadic
#030F2D #2D030F #0F2D03
tetradic
#030F2D #2D0324 #2D2103 #032D0C
square
#030F2D #2D0324 #2D2103 #032D0C
split-complementary
#030F2D #2D0C03 #242D03
monochromatic
#020A1D #020A1D #030F2D #072266 #0B35A0

Accessibility & contrast

On white

18.92
#030F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030F2D
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F2D#FFFFFF#000000##FFFFFF
##030F2D1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030f2d;
/* rgb */ color: rgb(3, 15, 45);
/* oklch */ color: oklch(17.9% 0.064 262.5);
Tailwind
colors: {
  custom: {
    50: '#494d66',
    500: '#030f2d',
    950: '#000000',
  },
}
SCSS
$custom: #030f2d;
$custom-light: #494d66;
$custom-dark: #000000;
JSON
{
  "hex": "#030f2d",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 222.857,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17941,
    "c": 0.06382,
    "h": 262.5
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#030F2D
secondary
#71581B
accent
#C12AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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