#030F2E#030F2E

#030F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.0% C 0.066 H 262.8°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#030F2E
RGBrgb(3, 15, 46)
HSLhsl(223, 88%, 10%)
HSVhsv(223, 93%, 18%)
CMYKcmyk(93.5%, 67.4%, 0%, 82%)
CIE-LABlab(5.04, 6.99, -21.72)
CIE-LCHlch(5.04, 22.82, 287.85°)
OKLaboklab(18.04% -0.0082 -0.065)
OKLCHoklch(18.04% 0.066 262.8)
XYZxyz(0.7013, 0.5582, 2.6550)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F2E #2E2203
analogous
#03252E #030F2E #0D032E
triadic
#030F2E #2E030F #0F2E03
tetradic
#030F2E #2E0325 #2E2203 #032E0D
square
#030F2E #2E0325 #2E2203 #032E0D
split-complementary
#030F2E #2E0D03 #252E03
monochromatic
#02091D #02091D #030F2E #072267 #0A34A1

Accessibility & contrast

On white

18.89
#030F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030F2E
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F2E#FFFFFF#000000##FFFFFF
##030F2E1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030f2e;
/* rgb */ color: rgb(3, 15, 46);
/* oklch */ color: oklch(18.0% 0.066 262.8);
Tailwind
colors: {
  custom: {
    50: '#4a4d67',
    500: '#030f2e',
    950: '#000000',
  },
}
SCSS
$custom: #030f2e;
$custom-light: #4a4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#030f2e",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 223.256,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18044,
    "c": 0.06553,
    "h": 262.8
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#030F2E
secondary
#725A1B
accent
#C32AFE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #030F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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