#0A153B#0A153B

#0A153B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.075 H 267.4°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#0A153B
RGBrgb(10, 21, 59)
HSLhsl(227, 71%, 14%)
HSVhsv(227, 83%, 23%)
CMYKcmyk(83.1%, 64.4%, 0%, 76.9%)
CIE-LABlab(8.28, 11.22, -26.00)
CIE-LCHlch(8.28, 28.31, 293.35°)
OKLaboklab(21.35% -0.0034 -0.0749)
OKLCHoklch(21.35% 0.075 267.4)
XYZxyz(1.1825, 0.9165, 4.2514)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A153B #3B300A
analogous
#0A2D3B #0A153B #170A3B
triadic
#0A153B #3B0A15 #153B0A
tetradic
#0A153B #3B0A2D #3B300A #0A3B17
square
#0A153B #3B0A2D #3B300A #0A3B17
split-complementary
#0A153B #3B170A #2D3B0A
monochromatic
#04091A #04091A #0A153B #13286F #1C3AA4

Accessibility & contrast

On white

17.75
#0A153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A153B
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A153B#FFFFFF#000000##FFFFFF
##0A153B1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a153b;
/* rgb */ color: rgb(10, 21, 59);
/* oklch */ color: oklch(21.3% 0.075 267.4);
Tailwind
colors: {
  custom: {
    50: '#515171',
    500: '#0a153b',
    950: '#000000',
  },
}
SCSS
$custom: #0a153b;
$custom-light: #515171;
$custom-dark: #000000;
JSON
{
  "hex": "#0a153b",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 226.531,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21345,
    "c": 0.07498,
    "h": 267.4
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#0A153B
secondary
#786628
accent
#C53AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0A153B

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

Preview Lab → · Contrast checker → · Palette generator →

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