#0A173E#0A173E

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

Color values

HEX#0A173E
RGBrgb(10, 23, 62)
HSLhsl(225, 72%, 14%)
HSVhsv(225, 84%, 24%)
CMYKcmyk(83.9%, 62.9%, 0%, 75.7%)
CIE-LABlab(9.20, 10.99, -26.64)
CIE-LCHlch(9.20, 28.82, 292.41°)
OKLaboklab(22.13% -0.0051 -0.0768)
OKLCHoklch(22.13% 0.077 266.2)
XYZxyz(1.3008, 1.0250, 4.6858)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A173E #3E310A
analogous
#0A313E #0A173E #170A3E
triadic
#0A173E #3E0A17 #173E0A
tetradic
#0A173E #3E0A31 #3E310A #0A3E17
square
#0A173E #3E0A31 #3E310A #0A3E17
split-complementary
#0A173E #3E170A #313E0A
monochromatic
#040A1A #040A1A #0A173E #132B73 #1B3EA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A173E#FFFFFF#000000##FFFFFF
##0A173E1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a173e;
/* rgb */ color: rgb(10, 23, 62);
/* oklch */ color: oklch(22.1% 0.077 266.2);
Tailwind
colors: {
  custom: {
    50: '#525374',
    500: '#0a173e',
    950: '#000000',
  },
}
SCSS
$custom: #0a173e;
$custom-light: #525374;
$custom-dark: #000000;
JSON
{
  "hex": "#0a173e",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 225,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22125,
    "c": 0.07694,
    "h": 266.2
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#0A173E
secondary
#7B6728
accent
#C139EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A173E

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

Preview Lab → · Contrast checker → · Palette generator →

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