#030947#030947

#030947 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.112 H 266.5°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#030947
RGBrgb(3, 9, 71)
HSLhsl(235, 92%, 15%)
HSVhsv(235, 96%, 28%)
CMYKcmyk(95.8%, 87.3%, 0%, 72.2%)
CIE-LABlab(6.05, 23.68, -38.19)
CIE-LCHlch(6.05, 44.94, 301.81°)
OKLaboklab(19.88% -0.0069 -0.1116)
OKLCHoklch(19.88% 0.112 266.5)
XYZxyz(1.2722, 0.6695, 6.0222)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030947 #474103
analogous
#032B47 #030947 #1F0347
triadic
#030947 #470309 #094703
tetradic
#030947 #47032B #474103 #03471F
square
#030947 #47032B #474103 #03471F
split-complementary
#030947 #471F03 #2B4703
monochromatic
#01041D #01041D #030947 #051082 #0818BC

Accessibility & contrast

On white

18.52
#030947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030947
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030947#FFFFFF#000000##FFFFFF
##0309471.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001046
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #030947;
/* rgb */ color: rgb(3, 9, 71);
/* oklch */ color: oklch(19.9% 0.112 266.5);
Tailwind
colors: {
  custom: {
    50: '#54497b',
    500: '#030947',
    950: '#000000',
  },
}
SCSS
$custom: #030947;
$custom-light: #54497b;
$custom-dark: #000000;
JSON
{
  "hex": "#030947",
  "rgb": {
    "r": 3,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 234.706,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19875,
    "c": 0.11184,
    "h": 266.5
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#030947
secondary
#887F1E
accent
#EC29FF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #030947

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

Preview Lab → · Contrast checker → · Palette generator →

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