#0A1543#0A1543

#0A1543 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.088 H 267.9°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#0A1543
RGBrgb(10, 21, 67)
HSLhsl(228, 74%, 15%)
HSVhsv(228, 85%, 26%)
CMYKcmyk(85.1%, 68.7%, 0%, 73.7%)
CIE-LABlab(9.04, 14.81, -30.44)
CIE-LCHlch(9.04, 33.85, 295.94°)
OKLaboklab(22.16% -0.0031 -0.0879)
OKLCHoklch(22.16% 0.088 267.9)
XYZxyz(1.4061, 1.0060, 5.4292)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1543 #43380A
analogous
#0A3143 #0A1543 #1B0A43
triadic
#0A1543 #430A15 #15430A
tetradic
#0A1543 #430A31 #43380A #0A431B
square
#0A1543 #430A31 #43380A #0A431B
split-complementary
#0A1543 #431B0A #31430A
monochromatic
#04081B #04081B #0A1543 #122678 #1A36AE

Accessibility & contrast

On white

17.48
#0A1543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1543
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1543#FFFFFF#000000##FFFFFF
##0A15431.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#001742
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1543;
/* rgb */ color: rgb(10, 21, 67);
/* oklch */ color: oklch(22.2% 0.088 267.9);
Tailwind
colors: {
  custom: {
    50: '#545178',
    500: '#0a1543',
    950: '#000000',
  },
}
SCSS
$custom: #0a1543;
$custom-light: #545178;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1543",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 67
  },
  "hsl": {
    "h": 228.421,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22156,
    "c": 0.08801,
    "h": 267.9
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#0A1543
secondary
#806F29
accent
#CD37F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1543

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

Preview Lab → · Contrast checker → · Palette generator →

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