#0A0535#0A0535

#0A0535 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.089 H 277.1°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#0A0535
RGBrgb(10, 5, 53)
HSLhsl(246, 83%, 11%)
HSVhsv(246, 91%, 21%)
CMYKcmyk(81.1%, 90.6%, 0%, 79.2%)
CIE-LABlab(3.88, 16.92, -28.74)
CIE-LCHlch(3.88, 33.35, 300.49°)
OKLaboklab(17.2% 0.011 -0.0881)
OKLCHoklch(17.2% 0.089 277.1)
XYZxyz(0.8218, 0.4300, 3.4072)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0535 #303505
analogous
#051835 #0A0535 #220535
triadic
#0A0535 #350A05 #05350A
tetradic
#0A0535 #350518 #303505 #053522
square
#0A0535 #350518 #303505 #053522
split-complementary
#0A0535 #352205 #183505
monochromatic
#05031C #05031C #0A0535 #150A6D #1F10A5

Accessibility & contrast

On white

19.34
#0A0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0535
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0535#FFFFFF#000000##FFFFFF
##0A05351.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a0535;
/* rgb */ color: rgb(10, 5, 53);
/* oklch */ color: oklch(17.2% 0.089 277.1);
Tailwind
colors: {
  custom: {
    50: '#4f486d',
    500: '#0a0535',
    950: '#000000',
  },
}
SCSS
$custom: #0a0535;
$custom-light: #4f486d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0535",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 246.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17204,
    "c": 0.08882,
    "h": 277.1
  },
  "luminance": 0.0043
}

Semantic roles & 50–950 ramp

primary
#0A0535
secondary
#6D7620
accent
#F92FE4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0535

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

Preview Lab → · Contrast checker → · Palette generator →

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