#03042F#03042F

#03042F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.4% C 0.085 H 269.4°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#03042F
RGBrgb(3, 4, 47)
HSLhsl(239, 88%, 10%)
HSVhsv(239, 94%, 18%)
CMYKcmyk(93.6%, 91.5%, 0%, 81.6%)
CIE-LABlab(2.81, 12.20, -26.01)
CIE-LCHlch(2.81, 28.73, 295.13°)
OKLaboklab(15.42% -0.001 -0.0847)
OKLCHoklch(15.42% 0.085 269.4)
XYZxyz(0.5939, 0.3114, 2.7176)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03042F #2F2E03
analogous
#031A2F #03042F #18032F
triadic
#03042F #2F0304 #042F03
tetradic
#03042F #2F031A #2F2E03 #032F18
square
#03042F #2F031A #2F2E03 #032F18
split-complementary
#03042F #2F1803 #1A2F03
monochromatic
#02021D #02021D #03042F #070969 #0A0EA2

Accessibility & contrast

On white

19.77
#03042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#03042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03042F
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03042F#FFFFFF#000000##FFFFFF
##03042F1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#00082E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #03042f;
/* rgb */ color: rgb(3, 4, 47);
/* oklch */ color: oklch(15.4% 0.085 269.4);
Tailwind
colors: {
  custom: {
    50: '#494868',
    500: '#03042f',
    950: '#000000',
  },
}
SCSS
$custom: #03042f;
$custom-light: #494868;
$custom-dark: #000000;
JSON
{
  "hex": "#03042f",
  "rgb": {
    "r": 3,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 238.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15418,
    "c": 0.08472,
    "h": 269.4
  },
  "luminance": 0.00311
}

Semantic roles & 50–950 ramp

primary
#03042F
secondary
#73711B
accent
#F92AFE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #03042F

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

Preview Lab → · Contrast checker → · Palette generator →

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