#0A153F#0A153F

#0A153F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.082 H 267.8°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#0A153F
RGBrgb(10, 21, 63)
HSLhsl(228, 73%, 14%)
HSVhsv(228, 84%, 25%)
CMYKcmyk(84.1%, 66.7%, 0%, 75.3%)
CIE-LABlab(8.65, 13.02, -28.24)
CIE-LCHlch(8.65, 31.10, 294.75°)
OKLaboklab(21.74% -0.0032 -0.0815)
OKLCHoklch(21.74% 0.082 267.8)
XYZxyz(1.2902, 0.9596, 4.8189)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A153F #3F340A
analogous
#0A303F #0A153F #1A0A3F
triadic
#0A153F #3F0A15 #153F0A
tetradic
#0A153F #3F0A30 #3F340A #0A3F1A
square
#0A153F #3F0A30 #3F340A #0A3F1A
split-complementary
#0A153F #3F1A0A #303F0A
monochromatic
#04091A #04091A #0A153F #122774 #1B38A9

Accessibility & contrast

On white

17.62
#0A153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0A153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A153F
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A153F#FFFFFF#000000##FFFFFF
##0A153F1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a153f;
/* rgb */ color: rgb(10, 21, 63);
/* oklch */ color: oklch(21.7% 0.082 267.8);
Tailwind
colors: {
  custom: {
    50: '#535174',
    500: '#0a153f',
    950: '#000000',
  },
}
SCSS
$custom: #0a153f;
$custom-light: #535174;
$custom-dark: #000000;
JSON
{
  "hex": "#0a153f",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 227.547,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21743,
    "c": 0.08157,
    "h": 267.8
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#0A153F
secondary
#7C6B29
accent
#C938EF
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A153F

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

Preview Lab → · Contrast checker → · Palette generator →

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