#0A1145#0A1145

#0A1145 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.097 H 269.8°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#0A1145
RGBrgb(10, 17, 69)
HSLhsl(233, 75%, 15%)
HSVhsv(233, 86%, 27%)
CMYKcmyk(85.5%, 75.4%, 0%, 72.9%)
CIE-LABlab(8.08, 18.74, -33.42)
CIE-LCHlch(8.08, 38.31, 299.28°)
OKLaboklab(21.52% -0.0004 -0.0967)
OKLCHoklch(21.52% 0.097 269.8)
XYZxyz(1.3994, 0.8949, 5.7281)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1145 #453E0A
analogous
#0A2E45 #0A1145 #200A45
triadic
#0A1145 #450A11 #11450A
tetradic
#0A1145 #450A2E #453E0A #0A4520
square
#0A1145 #450A2E #453E0A #0A4520
split-complementary
#0A1145 #45200A #2E450A
monochromatic
#04071B #04071B #0A1145 #121E7A #192BB0

Accessibility & contrast

On white

17.81
#0A1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1145
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1145#FFFFFF#000000##FFFFFF
##0A11451.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a1145;
/* rgb */ color: rgb(10, 17, 69);
/* oklch */ color: oklch(21.5% 0.097 269.8);
Tailwind
colors: {
  custom: {
    50: '#554e79',
    500: '#0a1145',
    950: '#000000',
  },
}
SCSS
$custom: #0a1145;
$custom-light: #554e79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1145",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 232.881,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21517,
    "c": 0.09671,
    "h": 269.8
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#0A1145
secondary
#827729
accent
#DB36F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A1145

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

Preview Lab → · Contrast checker → · Palette generator →

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