#030847#030847

#030847 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.7% C 0.113 H 266.6°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#030847
RGBrgb(3, 8, 71)
HSLhsl(236, 92%, 15%)
HSVhsv(236, 96%, 28%)
CMYKcmyk(95.8%, 88.7%, 0%, 72.2%)
CIE-LABlab(5.85, 24.19, -38.51)
CIE-LCHlch(5.85, 45.48, 302.13°)
OKLaboklab(19.71% -0.0067 -0.1128)
OKLCHoklch(19.71% 0.113 266.6)
XYZxyz(1.2613, 0.6478, 6.0186)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030847 #474203
analogous
#032A47 #030847 #200347
triadic
#030847 #470308 #084703
tetradic
#030847 #47032A #474203 #034720
square
#030847 #47032A #474203 #034720
split-complementary
#030847 #472003 #2A4703
monochromatic
#01031D #01031D #030847 #050F82 #0815BC

Accessibility & contrast

On white

18.59
#030847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#030847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030847
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030847#FFFFFF#000000##FFFFFF
##0308471.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001649
Deuteranopia (green-blind)
#000F46
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #030847;
/* rgb */ color: rgb(3, 8, 71);
/* oklch */ color: oklch(19.7% 0.113 266.6);
Tailwind
colors: {
  custom: {
    50: '#54497b',
    500: '#030847',
    950: '#000000',
  },
}
SCSS
$custom: #030847;
$custom-light: #54497b;
$custom-dark: #000000;
JSON
{
  "hex": "#030847",
  "rgb": {
    "r": 3,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 235.588,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19707,
    "c": 0.11296,
    "h": 266.6
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#030847
secondary
#88801E
accent
#EF29FF
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #030847

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

Preview Lab → · Contrast checker → · Palette generator →

#030847 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva