#0A1544#0A1544

#0A1544 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.090 H 268.0°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#0A1544
RGBrgb(10, 21, 68)
HSLhsl(229, 74%, 15%)
HSVhsv(229, 85%, 27%)
CMYKcmyk(85.3%, 69.1%, 0%, 73.3%)
CIE-LABlab(9.14, 15.25, -30.98)
CIE-LCHlch(9.14, 34.53, 296.21°)
OKLaboklab(22.26% -0.0032 -0.0895)
OKLCHoklch(22.26% 0.09 268)
XYZxyz(1.4364, 1.0181, 5.5885)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1544 #44390A
analogous
#0A3244 #0A1544 #1C0A44
triadic
#0A1544 #440A15 #15440A
tetradic
#0A1544 #440A32 #44390A #0A441C
square
#0A1544 #440A32 #44390A #0A441C
split-complementary
#0A1544 #441C0A #32440A
monochromatic
#04081B #04081B #0A1544 #122579 #1A36AF

Accessibility & contrast

On white

17.45
#0A1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A1544 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1544
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1544#FFFFFF#000000##FFFFFF
##0A15441.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001743
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1544;
/* rgb */ color: rgb(10, 21, 68);
/* oklch */ color: oklch(22.3% 0.090 268.0);
Tailwind
colors: {
  custom: {
    50: '#545278',
    500: '#0a1544',
    950: '#000000',
  },
}
SCSS
$custom: #0a1544;
$custom-light: #545278;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1544",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 228.621,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22261,
    "c": 0.0896,
    "h": 268
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#0A1544
secondary
#817029
accent
#CE37F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1544

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

Preview Lab → · Contrast checker → · Palette generator →

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