#0A1A45#0A1A45

#0A1A45 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.084 H 265.0°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#0A1A45
RGBrgb(10, 26, 69)
HSLhsl(224, 75%, 15%)
HSVhsv(224, 86%, 27%)
CMYKcmyk(85.5%, 62.3%, 0%, 72.9%)
CIE-LABlab(10.80, 11.79, -28.98)
CIE-LCHlch(10.80, 31.29, 292.14°)
OKLaboklab(23.53% -0.0072 -0.0836)
OKLCHoklch(23.53% 0.084 265)
XYZxyz(1.5684, 1.2328, 5.7844)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1A45 #45350A
analogous
#0A3745 #0A1A45 #170A45
triadic
#0A1A45 #450A1A #1A450A
tetradic
#0A1A45 #450A37 #45350A #0A4517
square
#0A1A45 #450A37 #45350A #0A4517
split-complementary
#0A1A45 #45170A #37450A
monochromatic
#040A1B #040A1B #0A1A45 #122E7A #1942B0

Accessibility & contrast

On white

16.85
#0A1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0A1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1A45
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1A45#FFFFFF#000000##FFFFFF
##0A1A451.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0a1a45;
/* rgb */ color: rgb(10, 26, 69);
/* oklch */ color: oklch(23.5% 0.084 265.0);
Tailwind
colors: {
  custom: {
    50: '#545679',
    500: '#0a1a45',
    950: '#000000',
  },
}
SCSS
$custom: #0a1a45;
$custom-light: #545679;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1a45",
  "rgb": {
    "r": 10,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 223.729,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23529,
    "c": 0.0839,
    "h": 265
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#0A1A45
secondary
#826A29
accent
#BF36F1
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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