#0A0538#0A0538

#0A0538 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.093 H 276.1°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#0A0538
RGBrgb(10, 5, 56)
HSLhsl(246, 84%, 12%)
HSVhsv(246, 91%, 22%)
CMYKcmyk(82.1%, 91.1%, 0%, 78%)
CIE-LABlab(4.14, 18.69, -30.53)
CIE-LCHlch(4.14, 35.79, 301.47°)
OKLaboklab(17.61% 0.01 -0.0926)
OKLCHoklch(17.61% 0.093 276.1)
XYZxyz(0.8930, 0.4585, 3.7821)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0538 #333805
analogous
#051A38 #0A0538 #240538
triadic
#0A0538 #380A05 #05380A
tetradic
#0A0538 #38051A #333805 #053824
square
#0A0538 #38051A #333805 #053824
split-complementary
#0A0538 #382405 #1A3805
monochromatic
#05031C #05031C #0A0538 #140A70 #1E0FA8

Accessibility & contrast

On white

19.23
#0A0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0A0538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0538
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0538#FFFFFF#000000##FFFFFF
##0A05381.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0a0538;
/* rgb */ color: rgb(10, 5, 56);
/* oklch */ color: oklch(17.6% 0.093 276.1);
Tailwind
colors: {
  custom: {
    50: '#50486f',
    500: '#0a0538',
    950: '#000000',
  },
}
SCSS
$custom: #0a0538;
$custom-light: #50486f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0538",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 245.882,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17608,
    "c": 0.09313,
    "h": 276.1
  },
  "luminance": 0.00459
}

Semantic roles & 50–950 ramp

primary
#0A0538
secondary
#707920
accent
#FA2EE6
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0538

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

Preview Lab → · Contrast checker → · Palette generator →

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