#0A0B45#0A0B45

#0A0B45 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.104 H 271.7°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#0A0B45
RGBrgb(10, 11, 69)
HSLhsl(239, 75%, 15%)
HSVhsv(239, 86%, 27%)
CMYKcmyk(85.5%, 84.1%, 0%, 72.9%)
CIE-LABlab(6.62, 22.62, -35.81)
CIE-LCHlch(6.62, 42.36, 302.28°)
OKLaboklab(20.41% 0.003 -0.1041)
OKLCHoklch(20.41% 0.104 271.7)
XYZxyz(1.3187, 0.7334, 5.7011)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0B45 #45440A
analogous
#0A2845 #0A0B45 #260A45
triadic
#0A0B45 #450A0B #0B450A
tetradic
#0A0B45 #450A28 #45440A #0A4526
square
#0A0B45 #450A28 #45440A #0A4526
split-complementary
#0A0B45 #45260A #28450A
monochromatic
#04041B #04041B #0A0B45 #12147A #191CB0

Accessibility & contrast

On white

18.31
#0A0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A0B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0B45
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0B45#FFFFFF#000000##FFFFFF
##0A0B451.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001244
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0b45;
/* rgb */ color: rgb(10, 11, 69);
/* oklch */ color: oklch(20.4% 0.104 271.7);
Tailwind
colors: {
  custom: {
    50: '#564b79',
    500: '#0a0b45',
    950: '#000000',
  },
}
SCSS
$custom: #0a0b45;
$custom-light: #564b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0b45",
  "rgb": {
    "r": 10,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 238.983,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.20406,
    "c": 0.10416,
    "h": 271.7
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#0A0B45
secondary
#828129
accent
#EE36F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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