#030B39#030B39

#030B39 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.089 H 266.3°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#030B39
RGBrgb(3, 11, 57)
HSLhsl(231, 90%, 12%)
HSVhsv(231, 95%, 22%)
CMYKcmyk(94.7%, 80.7%, 0%, 77.6%)
CIE-LABlab(5.00, 15.07, -29.88)
CIE-LCHlch(5.00, 33.46, 296.76°)
OKLaboklab(18.38% -0.0057 -0.089)
OKLCHoklch(18.38% 0.089 266.3)
XYZxyz(0.8955, 0.5540, 3.9298)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030B39 #393103
analogous
#032639 #030B39 #160339
triadic
#030B39 #39030B #0B3903
tetradic
#030B39 #390326 #393103 #033916
square
#030B39 #390326 #393103 #033916
split-complementary
#030B39 #391603 #263903
monochromatic
#02061D #02061D #030B39 #061673 #0921AD

Accessibility & contrast

On white

18.91
#030B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#030B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030B39
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030B39#FFFFFF#000000##FFFFFF
##030B391.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030b39;
/* rgb */ color: rgb(3, 11, 57);
/* oklch */ color: oklch(18.4% 0.089 266.3);
Tailwind
colors: {
  custom: {
    50: '#4e4b70',
    500: '#030b39',
    950: '#000000',
  },
}
SCSS
$custom: #030b39;
$custom-light: #4e4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#030b39",
  "rgb": {
    "r": 3,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 231.111,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18377,
    "c": 0.0892,
    "h": 266.3
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#030B39
secondary
#7C6E1C
accent
#DF29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030B39

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

Preview Lab → · Contrast checker → · Palette generator →

#030B39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva