#0A0541#0A0541

#0A0541 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.106 H 273.8°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#0A0541
RGBrgb(10, 5, 65)
HSLhsl(245, 86%, 14%)
HSVhsv(245, 92%, 25%)
CMYKcmyk(84.6%, 92.3%, 0%, 74.5%)
CIE-LABlab(5.01, 23.67, -35.62)
CIE-LCHlch(5.01, 42.77, 303.60°)
OKLaboklab(18.85% 0.007 -0.1054)
OKLCHoklch(18.85% 0.106 273.8)
XYZxyz(1.1333, 0.5546, 5.0473)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0541 #3C4105
analogous
#051E41 #0A0541 #280541
triadic
#0A0541 #410A05 #05410A
tetradic
#0A0541 #41051E #3C4105 #054128
square
#0A0541 #41051E #3C4105 #054128
split-complementary
#0A0541 #412805 #1E4105
monochromatic
#04021C #04021C #0A0541 #13097A #1B0EB3

Accessibility & contrast

On white

18.90
#0A0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0541
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0541#FFFFFF#000000##FFFFFF
##0A05411.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a0541;
/* rgb */ color: rgb(10, 5, 65);
/* oklch */ color: oklch(18.8% 0.106 273.8);
Tailwind
colors: {
  custom: {
    50: '#544776',
    500: '#0a0541',
    950: '#000000',
  },
}
SCSS
$custom: #0a0541;
$custom-light: #544776;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0541",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 245,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18847,
    "c": 0.10562,
    "h": 273.8
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#0A0541
secondary
#798120
accent
#FC2CEB
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0A0541

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

Preview Lab → · Contrast checker → · Palette generator →

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