#0A0E42#0A0E42

#0A0E42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.096 H 271.1°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0A0E42
RGBrgb(10, 14, 66)
HSLhsl(236, 74%, 15%)
HSVhsv(236, 85%, 26%)
CMYKcmyk(84.8%, 78.8%, 0%, 74.1%)
CIE-LABlab(6.97, 19.48, -33.12)
CIE-LCHlch(6.97, 38.43, 300.46°)
OKLaboklab(20.57% 0.0019 -0.0961)
OKLCHoklch(20.57% 0.096 271.1)
XYZxyz(1.2652, 0.7718, 5.2355)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0E42 #423E0A
analogous
#0A2A42 #0A0E42 #220A42
triadic
#0A0E42 #420A0E #0E420A
tetradic
#0A0E42 #420A2A #423E0A #0A4222
square
#0A0E42 #420A2A #423E0A #0A4222
split-complementary
#0A0E42 #42220A #2A420A
monochromatic
#04061B #04061B #0A0E42 #121977 #1A25AC

Accessibility & contrast

On white

18.19
#0A0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0E42
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0E42#FFFFFF#000000##FFFFFF
##0A0E421.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0e42;
/* rgb */ color: rgb(10, 14, 66);
/* oklch */ color: oklch(20.6% 0.096 271.1);
Tailwind
colors: {
  custom: {
    50: '#544c77',
    500: '#0a0e42',
    950: '#000000',
  },
}
SCSS
$custom: #0a0e42;
$custom-light: #544c77;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0e42",
  "rgb": {
    "r": 10,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 235.714,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20573,
    "c": 0.09611,
    "h": 271.1
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#0A0E42
secondary
#7F7929
accent
#E337F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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