#03072A#03072A

#03072A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.071 H 268.3°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#03072A
RGBrgb(3, 7, 42)
HSLhsl(234, 87%, 9%)
HSVhsv(234, 93%, 16%)
CMYKcmyk(92.9%, 83.3%, 0%, 83.5%)
CIE-LABlab(3.06, 8.59, -21.84)
CIE-LCHlch(3.06, 23.47, 291.47°)
OKLaboklab(15.56% -0.0021 -0.0714)
OKLCHoklch(15.56% 0.071 268.3)
XYZxyz(0.5313, 0.3384, 2.2274)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03072A #2A2603
analogous
#031B2A #03072A #13032A
triadic
#03072A #2A0307 #072A03
tetradic
#03072A #2A031B #2A2603 #032A13
square
#03072A #2A031B #2A2603 #032A13
split-complementary
#03072A #2A1303 #1B2A03
monochromatic
#02051D #02051D #03072A #071163 #0B1A9C

Accessibility & contrast

On white

19.67
#03072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#03072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03072A
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03072A#FFFFFF#000000##FFFFFF
##03072A1.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #03072a;
/* rgb */ color: rgb(3, 7, 42);
/* oklch */ color: oklch(15.6% 0.071 268.3);
Tailwind
colors: {
  custom: {
    50: '#484a64',
    500: '#03072a',
    950: '#000000',
  },
}
SCSS
$custom: #03072a;
$custom-light: #484a64;
$custom-dark: #000000;
JSON
{
  "hex": "#03072a",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 233.846,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1556,
    "c": 0.07148,
    "h": 268.3
  },
  "luminance": 0.00338
}

Semantic roles & 50–950 ramp

primary
#03072A
secondary
#6E651B
accent
#E72BFD
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #03072A

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

Preview Lab → · Contrast checker → · Palette generator →

#03072A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva