#0A153D#0A153D

#0A153D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.078 H 267.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0A153D
RGBrgb(10, 21, 61)
HSLhsl(227, 72%, 14%)
HSVhsv(227, 84%, 24%)
CMYKcmyk(83.6%, 65.6%, 0%, 76.1%)
CIE-LABlab(8.46, 12.12, -27.13)
CIE-LCHlch(8.46, 29.71, 294.08°)
OKLaboklab(21.54% -0.0033 -0.0782)
OKLCHoklch(21.54% 0.078 267.6)
XYZxyz(1.2354, 0.9377, 4.5299)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A153D #3D320A
analogous
#0A2F3D #0A153D #190A3D
triadic
#0A153D #3D0A15 #153D0A
tetradic
#0A153D #3D0A2F #3D320A #0A3D19
square
#0A153D #3D0A2F #3D320A #0A3D19
split-complementary
#0A153D #3D190A #2F3D0A
monochromatic
#04091A #04091A #0A153D #132772 #1B39A6

Accessibility & contrast

On white

17.68
#0A153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A153D
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A153D#FFFFFF#000000##FFFFFF
##0A153D1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#001F26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a153d;
/* rgb */ color: rgb(10, 21, 61);
/* oklch */ color: oklch(21.5% 0.078 267.6);
Tailwind
colors: {
  custom: {
    50: '#525173',
    500: '#0a153d',
    950: '#000000',
  },
}
SCSS
$custom: #0a153d;
$custom-light: #525173;
$custom-dark: #000000;
JSON
{
  "hex": "#0a153d",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 227.059,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21542,
    "c": 0.0783,
    "h": 267.6
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#0A153D
secondary
#7A6928
accent
#C739EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A153D

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

Preview Lab → · Contrast checker → · Palette generator →

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