#0A1845#0A1845

#0A1845 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.087 H 266.3°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#0A1845
RGBrgb(10, 24, 69)
HSLhsl(226, 75%, 15%)
HSVhsv(226, 86%, 27%)
CMYKcmyk(85.5%, 65.2%, 0%, 72.9%)
CIE-LABlab(10.16, 13.36, -30.01)
CIE-LCHlch(10.16, 32.85, 293.99°)
OKLaboklab(23.05% -0.0055 -0.0867)
OKLCHoklch(23.05% 0.087 266.3)
XYZxyz(1.5256, 1.1473, 5.7701)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1845 #45370A
analogous
#0A3545 #0A1845 #190A45
triadic
#0A1845 #450A18 #18450A
tetradic
#0A1845 #450A35 #45370A #0A4519
square
#0A1845 #450A35 #45370A #0A4519
split-complementary
#0A1845 #45190A #35450A
monochromatic
#04091B #04091B #0A1845 #122B7A #193DB0

Accessibility & contrast

On white

17.08
#0A1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0A1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1845
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1845#FFFFFF#000000##FFFFFF
##0A18451.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0a1845;
/* rgb */ color: rgb(10, 24, 69);
/* oklch */ color: oklch(23.1% 0.087 266.3);
Tailwind
colors: {
  custom: {
    50: '#545479',
    500: '#0a1845',
    950: '#000000',
  },
}
SCSS
$custom: #0a1845;
$custom-light: #545479;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1845",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 225.763,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23052,
    "c": 0.08684,
    "h": 266.3
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#0A1845
secondary
#826D29
accent
#C536F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1845

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

Preview Lab → · Contrast checker → · Palette generator →

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