#030F2C#030F2C

#030F2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.062 H 262.2°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#030F2C
RGBrgb(3, 15, 44)
HSLhsl(222, 87%, 9%)
HSVhsv(222, 93%, 17%)
CMYKcmyk(93.2%, 65.9%, 0%, 82.7%)
CIE-LABlab(4.90, 6.02, -20.44)
CIE-LCHlch(4.90, 21.31, 286.40°)
OKLaboklab(17.84% -0.0084 -0.0615)
OKLCHoklch(17.84% 0.062 262.2)
XYZxyz(0.6628, 0.5428, 2.4522)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F2C #2C2003
analogous
#03242C #030F2C #0C032C
triadic
#030F2C #2C030F #0F2C03
tetradic
#030F2C #2C0324 #2C2003 #032C0C
square
#030F2C #2C0324 #2C2003 #032C0C
split-complementary
#030F2C #2C0C03 #242C03
monochromatic
#020A1D #020A1D #030F2C #072365 #0B369F

Accessibility & contrast

On white

18.94
#030F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030F2C
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F2C#FFFFFF#000000##FFFFFF
##030F2C1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030f2c;
/* rgb */ color: rgb(3, 15, 44);
/* oklch */ color: oklch(17.8% 0.062 262.2);
Tailwind
colors: {
  custom: {
    50: '#494d65',
    500: '#030f2c',
    950: '#000000',
  },
}
SCSS
$custom: #030f2c;
$custom-light: #494d65;
$custom-dark: #000000;
JSON
{
  "hex": "#030f2c",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 222.439,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17839,
    "c": 0.0621,
    "h": 262.2
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#030F2C
secondary
#70571B
accent
#C02AFD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #030F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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