#0A0640#0A0640

#0A0640 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.103 H 273.8°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#0A0640
RGBrgb(10, 6, 64)
HSLhsl(244, 83%, 14%)
HSVhsv(244, 91%, 25%)
CMYKcmyk(84.4%, 90.6%, 0%, 74.9%)
CIE-LABlab(5.10, 22.67, -34.76)
CIE-LCHlch(5.10, 41.49, 303.11°)
OKLaboklab(18.89% 0.0068 -0.1027)
OKLCHoklch(18.89% 0.103 273.8)
XYZxyz(1.1154, 0.5648, 4.8997)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0640 #3C4006
analogous
#061F40 #0A0640 #270640
triadic
#0A0640 #400A06 #06400A
tetradic
#0A0640 #40061F #3C4006 #064027
square
#0A0640 #40061F #3C4006 #064027
split-complementary
#0A0640 #402706 #1F4006
monochromatic
#04031C #04031C #0A0640 #130B78 #1B10B0

Accessibility & contrast

On white

18.87
#0A0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0640
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0640#FFFFFF#000000##FFFFFF
##0A06401.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a0640;
/* rgb */ color: rgb(10, 6, 64);
/* oklch */ color: oklch(18.9% 0.103 273.8);
Tailwind
colors: {
  custom: {
    50: '#544876',
    500: '#0a0640',
    950: '#000000',
  },
}
SCSS
$custom: #0a0640;
$custom-light: #544876;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0640",
  "rgb": {
    "r": 10,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 244.138,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18893,
    "c": 0.10296,
    "h": 273.8
  },
  "luminance": 0.00565
}

Semantic roles & 50–950 ramp

primary
#0A0640
secondary
#798022
accent
#F92FEB
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0A0640

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

Preview Lab → · Contrast checker → · Palette generator →

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