#0A183C#0A183C

#0A183C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.072 H 265.0°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#0A183C
RGBrgb(10, 24, 60)
HSLhsl(223, 71%, 14%)
HSVhsv(223, 83%, 24%)
CMYKcmyk(83.3%, 60%, 0%, 76.5%)
CIE-LABlab(9.35, 9.28, -24.97)
CIE-LCHlch(9.35, 26.64, 290.39°)
OKLaboklab(22.19% -0.0063 -0.0718)
OKLCHoklch(22.19% 0.072 265)
XYZxyz(1.2671, 1.0439, 4.4088)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A183C #3C2E0A
analogous
#0A313C #0A183C #150A3C
triadic
#0A183C #3C0A18 #183C0A
tetradic
#0A183C #3C0A31 #3C2E0A #0A3C15
square
#0A183C #3C0A31 #3C2E0A #0A3C15
split-complementary
#0A183C #3C150A #313C0A
monochromatic
#040A1A #040A1A #0A183C #132D70 #1B42A5

Accessibility & contrast

On white

17.37
#0A183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0A183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A183C
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A183C#FFFFFF#000000##FFFFFF
##0A183C1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a183c;
/* rgb */ color: rgb(10, 24, 60);
/* oklch */ color: oklch(22.2% 0.072 265.0);
Tailwind
colors: {
  custom: {
    50: '#515472',
    500: '#0a183c',
    950: '#000000',
  },
}
SCSS
$custom: #0a183c;
$custom-light: #515472;
$custom-dark: #000000;
JSON
{
  "hex": "#0a183c",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 223.2,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22186,
    "c": 0.07209,
    "h": 265
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#0A183C
secondary
#796328
accent
#BC3AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020208
muted
#78787B

Preview Lab

Preview with #0A183C

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

Preview Lab → · Contrast checker → · Palette generator →

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