#0A0642#0A0642

#0A0642 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.106 H 273.4°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#0A0642
RGBrgb(10, 6, 66)
HSLhsl(244, 83%, 14%)
HSVhsv(244, 91%, 26%)
CMYKcmyk(84.8%, 90.9%, 0%, 74.1%)
CIE-LABlab(5.31, 23.70, -35.84)
CIE-LCHlch(5.31, 42.97, 303.47°)
OKLaboklab(19.17% 0.0062 -0.1055)
OKLCHoklch(19.17% 0.106 273.4)
XYZxyz(1.1733, 0.5880, 5.2049)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0642 #3E4206
analogous
#062042 #0A0642 #280642
triadic
#0A0642 #420A06 #06420A
tetradic
#0A0642 #420620 #3E4206 #064228
square
#0A0642 #420620 #3E4206 #064228
split-complementary
#0A0642 #422806 #204206
monochromatic
#04031C #04031C #0A0642 #130B7A #1B10B2

Accessibility & contrast

On white

18.79
#0A0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0A0642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0642
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0642#FFFFFF#000000##FFFFFF
##0A06421.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001444
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a0642;
/* rgb */ color: rgb(10, 6, 66);
/* oklch */ color: oklch(19.2% 0.106 273.4);
Tailwind
colors: {
  custom: {
    50: '#554877',
    500: '#0a0642',
    950: '#000000',
  },
}
SCSS
$custom: #0a0642;
$custom-light: #554877;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0642",
  "rgb": {
    "r": 10,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 244,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19167,
    "c": 0.10572,
    "h": 273.4
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#0A0642
secondary
#7B8222
accent
#FA2EEC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0A0642

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

Preview Lab → · Contrast checker → · Palette generator →

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