#030F2F#030F2F

#030F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.1% C 0.067 H 263.1°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#030F2F
RGBrgb(3, 15, 47)
HSLhsl(224, 88%, 10%)
HSVhsv(224, 94%, 18%)
CMYKcmyk(93.6%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.11, 7.50, -22.35)
CIE-LCHlch(5.11, 23.57, 288.56°)
OKLaboklab(18.15% -0.0081 -0.0667)
OKLCHoklch(18.15% 0.067 263.1)
XYZxyz(0.7213, 0.5662, 2.7600)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F2F #2F2303
analogous
#03252F #030F2F #0D032F
triadic
#030F2F #2F030F #0F2F03
tetradic
#030F2F #2F0325 #2F2303 #032F0D
square
#030F2F #2F0325 #2F2303 #032F0D
split-complementary
#030F2F #2F0D03 #252F03
monochromatic
#02091D #02091D #030F2F #072169 #0A34A2

Accessibility & contrast

On white

18.86
#030F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030F2F
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F2F#FFFFFF#000000##FFFFFF
##030F2F1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030f2f;
/* rgb */ color: rgb(3, 15, 47);
/* oklch */ color: oklch(18.1% 0.067 263.1);
Tailwind
colors: {
  custom: {
    50: '#4a4d68',
    500: '#030f2f',
    950: '#000000',
  },
}
SCSS
$custom: #030f2f;
$custom-light: #4a4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#030f2f",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 223.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18148,
    "c": 0.06722,
    "h": 263.1
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#030F2F
secondary
#735B1B
accent
#C42AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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