#0A183A#0A183A

#0A183A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.069 H 264.6°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#0A183A
RGBrgb(10, 24, 58)
HSLhsl(223, 71%, 13%)
HSVhsv(223, 83%, 23%)
CMYKcmyk(82.8%, 58.6%, 0%, 77.3%)
CIE-LABlab(9.18, 8.37, -23.81)
CIE-LCHlch(9.18, 25.24, 289.37°)
OKLaboklab(22% -0.0065 -0.0684)
OKLCHoklch(22% 0.069 264.6)
XYZxyz(1.2153, 1.0232, 4.1356)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A183A #3A2C0A
analogous
#0A303A #0A183A #140A3A
triadic
#0A183A #3A0A18 #183A0A
tetradic
#0A183A #3A0A30 #3A2C0A #0A3A14
square
#0A183A #3A0A30 #3A2C0A #0A3A14
split-complementary
#0A183A #3A140A #303A0A
monochromatic
#050B1A #050B1A #0A183A #132E6E #1C43A2

Accessibility & contrast

On white

17.43
#0A183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A183A
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A183A#FFFFFF#000000##FFFFFF
##0A183A1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a183a;
/* rgb */ color: rgb(10, 24, 58);
/* oklch */ color: oklch(22.0% 0.069 264.6);
Tailwind
colors: {
  custom: {
    50: '#515470',
    500: '#0a183a',
    950: '#000000',
  },
}
SCSS
$custom: #0a183a;
$custom-light: #515470;
$custom-dark: #000000;
JSON
{
  "hex": "#0a183a",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 222.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22004,
    "c": 0.06872,
    "h": 264.6
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#0A183A
secondary
#776028
accent
#B93AED
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0A183A

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

Preview Lab → · Contrast checker → · Palette generator →

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