#0A0A45#0A0A45

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

Color values

HEX#0A0A45
RGBrgb(10, 10, 69)
HSLhsl(240, 75%, 15%)
HSVhsv(240, 86%, 27%)
CMYKcmyk(85.5%, 85.5%, 0%, 72.9%)
CIE-LABlab(6.42, 23.15, -36.15)
CIE-LCHlch(6.42, 42.92, 302.64°)
OKLaboklab(20.24% 0.0035 -0.1052)
OKLCHoklch(20.24% 0.105 271.9)
XYZxyz(1.3075, 0.7111, 5.6974)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A45 #45450A
analogous
#0A2745 #0A0A45 #270A45
triadic
#0A0A45 #450A0A #0A450A
tetradic
#0A0A45 #450A27 #45450A #0A4527
square
#0A0A45 #450A27 #45450A #0A4527
split-complementary
#0A0A45 #45270A #27450A
monochromatic
#04041B #04041B #0A0A45 #12127A #1919B0

Accessibility & contrast

On white

18.39
#0A0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A45
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A45#FFFFFF#000000##FFFFFF
##0A0A451.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001747
Deuteranopia (green-blind)
#001144
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0a45;
/* rgb */ color: rgb(10, 10, 69);
/* oklch */ color: oklch(20.2% 0.105 271.9);
Tailwind
colors: {
  custom: {
    50: '#564a79',
    500: '#0a0a45',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a45;
$custom-light: #564a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a45",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20243,
    "c": 0.10527,
    "h": 271.9
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#0A0A45
secondary
#828229
accent
#F136F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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