#0A1942#0A1942

#0A1942 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.081 H 265.3°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#0A1942
RGBrgb(10, 25, 66)
HSLhsl(224, 74%, 15%)
HSVhsv(224, 85%, 26%)
CMYKcmyk(84.8%, 62.1%, 0%, 74.1%)
CIE-LABlab(10.21, 11.22, -27.84)
CIE-LCHlch(10.21, 30.01, 291.94°)
OKLaboklab(23% -0.0066 -0.0802)
OKLCHoklch(23% 0.081 265.3)
XYZxyz(1.4558, 1.1530, 5.2990)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1942 #42330A
analogous
#0A3542 #0A1942 #170A42
triadic
#0A1942 #420A19 #19420A
tetradic
#0A1942 #420A35 #42330A #0A4217
square
#0A1942 #420A35 #42330A #0A4217
split-complementary
#0A1942 #42170A #35420A
monochromatic
#040A1B #040A1B #0A1942 #122D77 #1A41AC

Accessibility & contrast

On white

17.06
#0A1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0A1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1942
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1942#FFFFFF#000000##FFFFFF
##0A19421.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0a1942;
/* rgb */ color: rgb(10, 25, 66);
/* oklch */ color: oklch(23.0% 0.081 265.3);
Tailwind
colors: {
  custom: {
    50: '#535577',
    500: '#0a1942',
    950: '#000000',
  },
}
SCSS
$custom: #0a1942;
$custom-light: #535577;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1942",
  "rgb": {
    "r": 10,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 223.929,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22998,
    "c": 0.08051,
    "h": 265.3
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#0A1942
secondary
#7F6829
accent
#BF37F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1942

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

Preview Lab → · Contrast checker → · Palette generator →

#0A1942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva