#0A1541#0A1541

#0A1541 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.085 H 267.9°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#0A1541
RGBrgb(10, 21, 65)
HSLhsl(228, 73%, 15%)
HSVhsv(228, 85%, 25%)
CMYKcmyk(84.6%, 67.7%, 0%, 74.5%)
CIE-LABlab(8.84, 13.92, -29.35)
CIE-LCHlch(8.84, 32.48, 295.37°)
OKLaboklab(21.95% -0.0032 -0.0848)
OKLCHoklch(21.95% 0.085 267.9)
XYZxyz(1.3471, 0.9824, 5.1186)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1541 #41360A
analogous
#0A3141 #0A1541 #1B0A41
triadic
#0A1541 #410A15 #15410A
tetradic
#0A1541 #410A31 #41360A #0A411B
square
#0A1541 #410A31 #41360A #0A411B
split-complementary
#0A1541 #411B0A #31410A
monochromatic
#04091B #04091B #0A1541 #122676 #1A37AB

Accessibility & contrast

On white

17.55
#0A1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1541
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1541#FFFFFF#000000##FFFFFF
##0A15411.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a1541;
/* rgb */ color: rgb(10, 21, 65);
/* oklch */ color: oklch(21.9% 0.085 267.9);
Tailwind
colors: {
  custom: {
    50: '#535176',
    500: '#0a1541',
    950: '#000000',
  },
}
SCSS
$custom: #0a1541;
$custom-light: #535176;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1541",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 228,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21948,
    "c": 0.08481,
    "h": 267.9
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#0A1541
secondary
#7E6D29
accent
#CB38F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1541

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

Preview Lab → · Contrast checker → · Palette generator →

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