#0A0646#0A0646

#0A0646 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.7% C 0.111 H 272.6°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#0A0646
RGBrgb(10, 6, 70)
HSLhsl(244, 84%, 15%)
HSVhsv(244, 91%, 27%)
CMYKcmyk(85.7%, 91.4%, 0%, 72.5%)
CIE-LABlab(5.75, 25.67, -37.95)
CIE-LCHlch(5.75, 45.82, 304.08°)
OKLaboklab(19.72% 0.005 -0.111)
OKLCHoklch(19.72% 0.111 272.6)
XYZxyz(1.2954, 0.6368, 5.8478)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0646 #424606
analogous
#062246 #0A0646 #2A0646
triadic
#0A0646 #460A06 #06460A
tetradic
#0A0646 #460622 #424606 #06462A
square
#0A0646 #460622 #424606 #06462A
split-complementary
#0A0646 #462A06 #224606
monochromatic
#04021C #04021C #0A0646 #120B7E #1A10B7

Accessibility & contrast

On white

18.63
#0A0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0646
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0646#FFFFFF#000000##FFFFFF
##0A06461.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0646;
/* rgb */ color: rgb(10, 6, 70);
/* oklch */ color: oklch(19.7% 0.111 272.6);
Tailwind
colors: {
  custom: {
    50: '#56487a',
    500: '#0a0646',
    950: '#000000',
  },
}
SCSS
$custom: #0a0646;
$custom-light: #56487a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0646",
  "rgb": {
    "r": 10,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 243.75,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.1972,
    "c": 0.11116,
    "h": 272.6
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#0A0646
secondary
#7F8522
accent
#FA2DEE
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0A0646

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

Preview Lab → · Contrast checker → · Palette generator →

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