#0A0537#0A0537

#0A0537 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.5% C 0.092 H 276.4°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#0A0537
RGBrgb(10, 5, 55)
HSLhsl(246, 83%, 12%)
HSVhsv(246, 91%, 22%)
CMYKcmyk(81.8%, 90.9%, 0%, 78.4%)
CIE-LABlab(4.05, 18.10, -29.94)
CIE-LCHlch(4.05, 34.99, 301.16°)
OKLaboklab(17.47% 0.0103 -0.0911)
OKLCHoklch(17.47% 0.092 276.4)
XYZxyz(0.8688, 0.4488, 3.6545)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0537 #323705
analogous
#051937 #0A0537 #230537
triadic
#0A0537 #370A05 #05370A
tetradic
#0A0537 #370519 #323705 #053723
square
#0A0537 #370519 #323705 #053723
split-complementary
#0A0537 #372305 #193705
monochromatic
#05031C #05031C #0A0537 #140A6F #1E0FA7

Accessibility & contrast

On white

19.27
#0A0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0537
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0537#FFFFFF#000000##FFFFFF
##0A05371.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001038
Deuteranopia (green-blind)
#000C36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a0537;
/* rgb */ color: rgb(10, 5, 55);
/* oklch */ color: oklch(17.5% 0.092 276.4);
Tailwind
colors: {
  custom: {
    50: '#50486e',
    500: '#0a0537',
    950: '#000000',
  },
}
SCSS
$custom: #0a0537;
$custom-light: #50486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0537",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 246,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17473,
    "c": 0.09169,
    "h": 276.4
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#0A0537
secondary
#6F7820
accent
#FA2EE5
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0537

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

Preview Lab → · Contrast checker → · Palette generator →

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