#0A0742#0A0742

#0A0742 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.104 H 273.1°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#0A0742
RGBrgb(10, 7, 66)
HSLhsl(243, 81%, 14%)
HSVhsv(243, 89%, 26%)
CMYKcmyk(84.8%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.51, 23.21, -35.52)
CIE-LCHlch(5.51, 42.43, 303.16°)
OKLaboklab(19.34% 0.0057 -0.1043)
OKLCHoklch(19.34% 0.105 273.1)
XYZxyz(1.1842, 0.6097, 5.2085)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0742 #3F4207
analogous
#072242 #0A0742 #280742
triadic
#0A0742 #420A07 #07420A
tetradic
#0A0742 #420722 #3F4207 #074228
square
#0A0742 #420722 #3F4207 #074228
split-complementary
#0A0742 #422807 #224207
monochromatic
#04031C #04031C #0A0742 #120D79 #1B13B1

Accessibility & contrast

On white

18.72
#0A0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0742
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0742#FFFFFF#000000##FFFFFF
##0A07421.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0742;
/* rgb */ color: rgb(10, 7, 66);
/* oklch */ color: oklch(19.3% 0.104 273.1);
Tailwind
colors: {
  custom: {
    50: '#554877',
    500: '#0a0742',
    950: '#000000',
  },
}
SCSS
$custom: #0a0742;
$custom-light: #554877;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0742",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 243.051,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19344,
    "c": 0.1045,
    "h": 273.1
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#0A0742
secondary
#7C8124
accent
#F731ED
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0A0742

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

Preview Lab → · Contrast checker → · Palette generator →

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