#030939#030939

#030939 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.092 H 266.9°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#030939
RGBrgb(3, 9, 57)
HSLhsl(233, 90%, 12%)
HSVhsv(233, 95%, 22%)
CMYKcmyk(94.7%, 84.2%, 0%, 77.6%)
CIE-LABlab(4.61, 15.91, -30.52)
CIE-LCHlch(4.61, 34.42, 297.53°)
OKLaboklab(17.97% -0.0049 -0.0917)
OKLCHoklch(17.97% 0.092 266.9)
XYZxyz(0.8735, 0.5100, 3.9225)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030939 #393303
analogous
#032439 #030939 #180339
triadic
#030939 #390309 #093903
tetradic
#030939 #390324 #393303 #033918
square
#030939 #390324 #393303 #033918
split-complementary
#030939 #391803 #243903
monochromatic
#02051D #02051D #030939 #061273 #091BAD

Accessibility & contrast

On white

19.06
#030939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#030939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030939
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030939#FFFFFF#000000##FFFFFF
##0309391.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #030939;
/* rgb */ color: rgb(3, 9, 57);
/* oklch */ color: oklch(18.0% 0.092 266.9);
Tailwind
colors: {
  custom: {
    50: '#4e4a70',
    500: '#030939',
    950: '#000000',
  },
}
SCSS
$custom: #030939;
$custom-light: #4e4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#030939",
  "rgb": {
    "r": 3,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 233.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17974,
    "c": 0.09183,
    "h": 266.9
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#030939
secondary
#7C711C
accent
#E729FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030939

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

Preview Lab → · Contrast checker → · Palette generator →

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