#0A0648#0A0648

#0A0648 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.114 H 272.2°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0A0648
RGBrgb(10, 6, 72)
HSLhsl(244, 85%, 15%)
HSVhsv(244, 92%, 28%)
CMYKcmyk(86.1%, 91.7%, 0%, 71.8%)
CIE-LABlab(5.98, 26.61, -38.98)
CIE-LCHlch(5.98, 47.20, 304.32°)
OKLaboklab(20% 0.0044 -0.1138)
OKLCHoklch(20% 0.114 272.2)
XYZxyz(1.3596, 0.6625, 6.1859)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0648 #444806
analogous
#062348 #0A0648 #2B0648
triadic
#0A0648 #480A06 #06480A
tetradic
#0A0648 #480623 #444806 #06482B
square
#0A0648 #480623 #444806 #06482B
split-complementary
#0A0648 #482B06 #234806
monochromatic
#04021C #04021C #0A0648 #120B80 #1A0FB9

Accessibility & contrast

On white

18.54
#0A0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0648
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0648#FFFFFF#000000##FFFFFF
##0A06481.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0648;
/* rgb */ color: rgb(10, 6, 72);
/* oklch */ color: oklch(20.0% 0.114 272.2);
Tailwind
colors: {
  custom: {
    50: '#57487c',
    500: '#0a0648',
    950: '#000000',
  },
}
SCSS
$custom: #0a0648;
$custom-light: #57487c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0648",
  "rgb": {
    "r": 10,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 243.636,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.19999,
    "c": 0.11384,
    "h": 272.2
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#0A0648
secondary
#818723
accent
#FB2DEE
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0A0648

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

Preview Lab → · Contrast checker → · Palette generator →

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