#0A0D42#0A0D42

#0A0D42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.097 H 271.5°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#0A0D42
RGBrgb(10, 13, 66)
HSLhsl(237, 74%, 15%)
HSVhsv(237, 85%, 26%)
CMYKcmyk(84.8%, 80.3%, 0%, 74.1%)
CIE-LABlab(6.73, 20.09, -33.51)
CIE-LCHlch(6.73, 39.07, 300.95°)
OKLaboklab(20.38% 0.0025 -0.0974)
OKLCHoklch(20.38% 0.097 271.5)
XYZxyz(1.2521, 0.7456, 5.2311)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0D42 #423F0A
analogous
#0A2942 #0A0D42 #230A42
triadic
#0A0D42 #420A0D #0D420A
tetradic
#0A0D42 #420A29 #423F0A #0A4223
square
#0A0D42 #420A29 #423F0A #0A4223
split-complementary
#0A0D42 #42230A #29420A
monochromatic
#04051B #04051B #0A0D42 #121777 #1A22AC

Accessibility & contrast

On white

18.27
#0A0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0D42
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0D42#FFFFFF#000000##FFFFFF
##0A0D421.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001241
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0d42;
/* rgb */ color: rgb(10, 13, 66);
/* oklch */ color: oklch(20.4% 0.097 271.5);
Tailwind
colors: {
  custom: {
    50: '#544c77',
    500: '#0a0d42',
    950: '#000000',
  },
}
SCSS
$custom: #0a0d42;
$custom-light: #544c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0d42",
  "rgb": {
    "r": 10,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 236.786,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20384,
    "c": 0.09738,
    "h": 271.5
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#0A0D42
secondary
#7F7B29
accent
#E637F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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