#0A183E#0A183E

#0A183E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.075 H 265.4°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0A183E
RGBrgb(10, 24, 62)
HSLhsl(224, 72%, 14%)
HSVhsv(224, 84%, 24%)
CMYKcmyk(83.9%, 61.3%, 0%, 75.7%)
CIE-LABlab(9.53, 10.19, -26.11)
CIE-LCHlch(9.53, 28.03, 291.32°)
OKLaboklab(22.37% -0.006 -0.0752)
OKLCHoklch(22.37% 0.075 265.4)
XYZxyz(1.3210, 1.0655, 4.6925)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A183E #3E300A
analogous
#0A323E #0A183E #160A3E
triadic
#0A183E #3E0A18 #183E0A
tetradic
#0A183E #3E0A32 #3E300A #0A3E16
square
#0A183E #3E0A32 #3E300A #0A3E16
split-complementary
#0A183E #3E160A #323E0A
monochromatic
#040A1A #040A1A #0A183E #132C73 #1B41A7

Accessibility & contrast

On white

17.31
#0A183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A183E
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A183E#FFFFFF#000000##FFFFFF
##0A183E1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0a183e;
/* rgb */ color: rgb(10, 24, 62);
/* oklch */ color: oklch(22.4% 0.075 265.4);
Tailwind
colors: {
  custom: {
    50: '#525474',
    500: '#0a183e',
    950: '#000000',
  },
}
SCSS
$custom: #0a183e;
$custom-light: #525474;
$custom-dark: #000000;
JSON
{
  "hex": "#0a183e",
  "rgb": {
    "r": 10,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 223.846,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22372,
    "c": 0.07543,
    "h": 265.4
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#0A183E
secondary
#7B6528
accent
#BE39EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A183E

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

Preview Lab → · Contrast checker → · Palette generator →

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