#0A183B#0A183B

#0A183B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.070 H 264.8°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#0A183B
RGBrgb(10, 24, 59)
HSLhsl(223, 71%, 14%)
HSVhsv(223, 83%, 23%)
CMYKcmyk(83.1%, 59.3%, 0%, 76.9%)
CIE-LABlab(9.27, 8.83, -24.39)
CIE-LCHlch(9.27, 25.94, 289.89°)
OKLaboklab(22.09% -0.0064 -0.0701)
OKLCHoklch(22.09% 0.07 264.8)
XYZxyz(1.2409, 1.0334, 4.2709)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A183B #3B2D0A
analogous
#0A303B #0A183B #140A3B
triadic
#0A183B #3B0A18 #183B0A
tetradic
#0A183B #3B0A30 #3B2D0A #0A3B14
square
#0A183B #3B0A30 #3B2D0A #0A3B14
split-complementary
#0A183B #3B140A #303B0A
monochromatic
#040B1A #040B1A #0A183B #132D6F #1C43A4

Accessibility & contrast

On white

17.40
#0A183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A183B
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A183B#FFFFFF#000000##FFFFFF
##0A183B1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a183b;
/* rgb */ color: rgb(10, 24, 59);
/* oklch */ color: oklch(22.1% 0.070 264.8);
Tailwind
colors: {
  custom: {
    50: '#515471',
    500: '#0a183b',
    950: '#000000',
  },
}
SCSS
$custom: #0a183b;
$custom-light: #515471;
$custom-dark: #000000;
JSON
{
  "hex": "#0a183b",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 222.857,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22094,
    "c": 0.07041,
    "h": 264.8
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#0A183B
secondary
#786228
accent
#BA3AEE
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #0A183B

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

Preview Lab → · Contrast checker → · Palette generator →

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