#0A153E#0A153E

#0A153E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.080 H 267.7°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#0A153E
RGBrgb(10, 21, 62)
HSLhsl(227, 72%, 14%)
HSVhsv(227, 84%, 24%)
CMYKcmyk(83.9%, 66.1%, 0%, 75.7%)
CIE-LABlab(8.55, 12.57, -27.69)
CIE-LCHlch(8.55, 30.41, 294.42°)
OKLaboklab(21.64% -0.0032 -0.0799)
OKLCHoklch(21.64% 0.08 267.7)
XYZxyz(1.2625, 0.9485, 4.6730)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A153E #3E330A
analogous
#0A2F3E #0A153E #190A3E
triadic
#0A153E #3E0A15 #153E0A
tetradic
#0A153E #3E0A2F #3E330A #0A3E19
square
#0A153E #3E0A2F #3E330A #0A3E19
split-complementary
#0A153E #3E190A #2F3E0A
monochromatic
#04091A #04091A #0A153E #132773 #1B39A7

Accessibility & contrast

On white

17.65
#0A153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A153E
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A153E#FFFFFF#000000##FFFFFF
##0A153E1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0a153e;
/* rgb */ color: rgb(10, 21, 62);
/* oklch */ color: oklch(21.6% 0.080 267.7);
Tailwind
colors: {
  custom: {
    50: '#525174',
    500: '#0a153e',
    950: '#000000',
  },
}
SCSS
$custom: #0a153e;
$custom-light: #525174;
$custom-dark: #000000;
JSON
{
  "hex": "#0a153e",
  "rgb": {
    "r": 10,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 227.308,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21642,
    "c": 0.07994,
    "h": 267.7
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#0A153E
secondary
#7B6A28
accent
#C839EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A153E

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

Preview Lab → · Contrast checker → · Palette generator →

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