#0A0748#0A0748

#0A0748 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.113 H 272.0°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#0A0748
RGBrgb(10, 7, 72)
HSLhsl(243, 82%, 15%)
HSVhsv(243, 90%, 28%)
CMYKcmyk(86.1%, 90.3%, 0%, 71.8%)
CIE-LABlab(6.18, 26.09, -38.66)
CIE-LCHlch(6.18, 46.64, 304.02°)
OKLaboklab(20.16% 0.004 -0.1126)
OKLCHoklch(20.16% 0.113 272)
XYZxyz(1.3705, 0.6842, 6.1895)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0748 #454807
analogous
#072448 #0A0748 #2A0748
triadic
#0A0748 #480A07 #07480A
tetradic
#0A0748 #480724 #454807 #07482A
square
#0A0748 #480724 #454807 #07482A
split-complementary
#0A0748 #482A07 #244807
monochromatic
#04031C #04031C #0A0748 #120C80 #1912B8

Accessibility & contrast

On white

18.47
#0A0748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0A0748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0748
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0748#FFFFFF#000000##FFFFFF
##0A07481.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00174A
Deuteranopia (green-blind)
#001047
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0748;
/* rgb */ color: rgb(10, 7, 72);
/* oklch */ color: oklch(20.2% 0.113 272.0);
Tailwind
colors: {
  custom: {
    50: '#57487c',
    500: '#0a0748',
    950: '#000000',
  },
}
SCSS
$custom: #0a0748;
$custom-light: #57487c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0748",
  "rgb": {
    "r": 10,
    "g": 7,
    "b": 72
  },
  "hsl": {
    "h": 242.769,
    "s": 82.278,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20161,
    "c": 0.11272,
    "h": 272
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#0A0748
secondary
#828724
accent
#F92FEF
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0A0748

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

Preview Lab → · Contrast checker → · Palette generator →

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