#0A153A#0A153A

#0A153A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.073 H 267.3°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#0A153A
RGBrgb(10, 21, 58)
HSLhsl(226, 71%, 13%)
HSVhsv(226, 83%, 23%)
CMYKcmyk(82.8%, 63.8%, 0%, 77.3%)
CIE-LABlab(8.18, 10.77, -25.43)
CIE-LCHlch(8.18, 27.61, 292.96°)
OKLaboklab(21.25% -0.0035 -0.0732)
OKLCHoklch(21.25% 0.073 267.3)
XYZxyz(1.1568, 0.9062, 4.1161)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A153A #3A2F0A
analogous
#0A2D3A #0A153A #170A3A
triadic
#0A153A #3A0A15 #153A0A
tetradic
#0A153A #3A0A2D #3A2F0A #0A3A17
square
#0A153A #3A0A2D #3A2F0A #0A3A17
split-complementary
#0A153A #3A170A #2D3A0A
monochromatic
#05091A #05091A #0A153A #13286E #1C3BA2

Accessibility & contrast

On white

17.78
#0A153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A153A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A153A#FFFFFF#000000##FFFFFF
##0A153A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a153a;
/* rgb */ color: rgb(10, 21, 58);
/* oklch */ color: oklch(21.2% 0.073 267.3);
Tailwind
colors: {
  custom: {
    50: '#515170',
    500: '#0a153a',
    950: '#000000',
  },
}
SCSS
$custom: #0a153a;
$custom-light: #515170;
$custom-dark: #000000;
JSON
{
  "hex": "#0a153a",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 226.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21248,
    "c": 0.07331,
    "h": 267.3
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#0A153A
secondary
#776528
accent
#C43AED
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0A153A

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

Preview Lab → · Contrast checker → · Palette generator →

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