#030A38#030A38

#030A38 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.089 H 266.7°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#030A38
RGBrgb(3, 10, 56)
HSLhsl(232, 90%, 12%)
HSVhsv(232, 95%, 22%)
CMYKcmyk(94.6%, 82.1%, 0%, 78%)
CIE-LABlab(4.71, 14.89, -29.62)
CIE-LCHlch(4.71, 33.15, 296.69°)
OKLaboklab(18.05% -0.0052 -0.0888)
OKLCHoklch(18.05% 0.089 266.7)
XYZxyz(0.8597, 0.5219, 3.7960)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030A38 #383103
analogous
#032538 #030A38 #170338
triadic
#030A38 #38030A #0A3803
tetradic
#030A38 #380325 #383103 #033817
square
#030A38 #380325 #383103 #033817
split-complementary
#030A38 #381703 #253803
monochromatic
#02051D #02051D #030A38 #061472 #091FAC

Accessibility & contrast

On white

19.01
#030A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#030A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030A38
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030A38#FFFFFF#000000##FFFFFF
##030A381.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #030a38;
/* rgb */ color: rgb(3, 10, 56);
/* oklch */ color: oklch(18.0% 0.089 266.7);
Tailwind
colors: {
  custom: {
    50: '#4d4a6f',
    500: '#030a38',
    950: '#000000',
  },
}
SCSS
$custom: #030a38;
$custom-light: #4d4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#030a38",
  "rgb": {
    "r": 3,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 232.075,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18046,
    "c": 0.089,
    "h": 266.7
  },
  "luminance": 0.00522
}

Semantic roles & 50–950 ramp

primary
#030A38
secondary
#7B6E1C
accent
#E329FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #030A38

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

Preview Lab → · Contrast checker → · Palette generator →

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