#0A0548#0A0548

#0A0548 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.8% C 0.115 H 272.4°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#0A0548
RGBrgb(10, 5, 72)
HSLhsl(244, 87%, 15%)
HSVhsv(244, 93%, 28%)
CMYKcmyk(86.1%, 93.1%, 0%, 71.8%)
CIE-LABlab(5.79, 27.14, -39.30)
CIE-LCHlch(5.79, 47.76, 304.62°)
OKLaboklab(19.83% 0.0048 -0.1149)
OKLCHoklch(19.83% 0.115 272.4)
XYZxyz(1.3488, 0.6408, 6.1822)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0548 #434805
analogous
#052148 #0A0548 #2C0548
triadic
#0A0548 #480A05 #05480A
tetradic
#0A0548 #480521 #434805 #05482C
square
#0A0548 #480521 #434805 #05482C
split-complementary
#0A0548 #482C05 #214805
monochromatic
#04021D #04021D #0A0548 #120981 #1A0DBA

Accessibility & contrast

On white

18.61
#0A0548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A0548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0548
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0548#FFFFFF#000000##FFFFFF
##0A05481.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00164A
Deuteranopia (green-blind)
#000F47
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0548;
/* rgb */ color: rgb(10, 5, 72);
/* oklch */ color: oklch(19.8% 0.115 272.4);
Tailwind
colors: {
  custom: {
    50: '#57477c',
    500: '#0a0548',
    950: '#000000',
  },
}
SCSS
$custom: #0a0548;
$custom-light: #57477c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0548",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 72
  },
  "hsl": {
    "h": 244.478,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.19833,
    "c": 0.11498,
    "h": 272.4
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#0A0548
secondary
#808821
accent
#FD2BED
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0A0548

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

Preview Lab → · Contrast checker → · Palette generator →

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