#030747#030747

#030747 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.114 H 266.7°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#030747
RGBrgb(3, 7, 71)
HSLhsl(236, 92%, 15%)
HSVhsv(236, 96%, 28%)
CMYKcmyk(95.8%, 90.1%, 0%, 72.2%)
CIE-LABlab(5.66, 24.69, -38.83)
CIE-LCHlch(5.66, 46.02, 302.45°)
OKLaboklab(19.54% -0.0066 -0.1139)
OKLCHoklch(19.54% 0.114 266.7)
XYZxyz(1.2505, 0.6261, 6.0150)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030747 #474303
analogous
#032947 #030747 #210347
triadic
#030747 #470307 #074703
tetradic
#030747 #470329 #474303 #034721
square
#030747 #470329 #474303 #034721
split-complementary
#030747 #472103 #294703
monochromatic
#01031D #01031D #030747 #050D82 #0813BC

Accessibility & contrast

On white

18.66
#030747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030747
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030747#FFFFFF#000000##FFFFFF
##0307471.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #030747;
/* rgb */ color: rgb(3, 7, 71);
/* oklch */ color: oklch(19.5% 0.114 266.7);
Tailwind
colors: {
  custom: {
    50: '#54487b',
    500: '#030747',
    950: '#000000',
  },
}
SCSS
$custom: #030747;
$custom-light: #54487b;
$custom-dark: #000000;
JSON
{
  "hex": "#030747",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 236.471,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19536,
    "c": 0.11409,
    "h": 266.7
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#030747
secondary
#88821E
accent
#F229FF
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #030747

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

Preview Lab → · Contrast checker → · Palette generator →

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