#0A153C#0A153C

#0A153C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.077 H 267.5°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#0A153C
RGBrgb(10, 21, 60)
HSLhsl(227, 71%, 14%)
HSVhsv(227, 83%, 24%)
CMYKcmyk(83.3%, 65%, 0%, 76.5%)
CIE-LABlab(8.37, 11.67, -26.56)
CIE-LCHlch(8.37, 29.01, 293.72°)
OKLaboklab(21.44% -0.0033 -0.0766)
OKLCHoklch(21.44% 0.077 267.5)
XYZxyz(1.2087, 0.9270, 4.3893)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A153C #3C310A
analogous
#0A2E3C #0A153C #180A3C
triadic
#0A153C #3C0A15 #153C0A
tetradic
#0A153C #3C0A2E #3C310A #0A3C18
square
#0A153C #3C0A2E #3C310A #0A3C18
split-complementary
#0A153C #3C180A #2E3C0A
monochromatic
#04091A #04091A #0A153C #132770 #1B3AA5

Accessibility & contrast

On white

17.72
#0A153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A153C
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A153C#FFFFFF#000000##FFFFFF
##0A153C1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a153c;
/* rgb */ color: rgb(10, 21, 60);
/* oklch */ color: oklch(21.4% 0.077 267.5);
Tailwind
colors: {
  custom: {
    50: '#525172',
    500: '#0a153c',
    950: '#000000',
  },
}
SCSS
$custom: #0a153c;
$custom-light: #525172;
$custom-dark: #000000;
JSON
{
  "hex": "#0a153c",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 226.8,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21443,
    "c": 0.07664,
    "h": 267.5
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#0A153C
secondary
#796828
accent
#C63AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0A153C

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

Preview Lab → · Contrast checker → · Palette generator →

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