#03072F#03072F

#03072F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.079 H 268.1°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#03072F
RGBrgb(3, 7, 47)
HSLhsl(235, 88%, 10%)
HSVhsv(235, 94%, 18%)
CMYKcmyk(93.6%, 85.1%, 0%, 81.6%)
CIE-LABlab(3.40, 11.00, -25.08)
CIE-LCHlch(3.40, 27.38, 293.69°)
OKLaboklab(16.21% -0.0027 -0.0794)
OKLCHoklch(16.21% 0.079 268.1)
XYZxyz(0.6264, 0.3765, 2.7284)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03072F #2F2B03
analogous
#031D2F #03072F #15032F
triadic
#03072F #2F0307 #072F03
tetradic
#03072F #2F031D #2F2B03 #032F15
square
#03072F #2F031D #2F2B03 #032F15
split-complementary
#03072F #2F1503 #1D2F03
monochromatic
#02041D #02041D #03072F #071069 #0A18A2

Accessibility & contrast

On white

19.53
#03072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#03072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03072F
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03072F#FFFFFF#000000##FFFFFF
##03072F1.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #03072f;
/* rgb */ color: rgb(3, 7, 47);
/* oklch */ color: oklch(16.2% 0.079 268.1);
Tailwind
colors: {
  custom: {
    50: '#4a4968',
    500: '#03072f',
    950: '#000000',
  },
}
SCSS
$custom: #03072f;
$custom-light: #4a4968;
$custom-dark: #000000;
JSON
{
  "hex": "#03072f",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 234.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16206,
    "c": 0.07948,
    "h": 268.1
  },
  "luminance": 0.00377
}

Semantic roles & 50–950 ramp

primary
#03072F
secondary
#736B1B
accent
#EB2AFE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #03072F

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

Preview Lab → · Contrast checker → · Palette generator →

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