#0A173F#0A173F

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

Color values

HEX#0A173F
RGBrgb(10, 23, 63)
HSLhsl(225, 73%, 14%)
HSVhsv(225, 84%, 25%)
CMYKcmyk(84.1%, 63.5%, 0%, 75.3%)
CIE-LABlab(9.29, 11.44, -27.21)
CIE-LCHlch(9.29, 29.51, 292.81°)
OKLaboklab(22.22% -0.005 -0.0784)
OKLCHoklch(22.22% 0.079 266.4)
XYZxyz(1.3285, 1.0361, 4.8316)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A173F #3F320A
analogous
#0A323F #0A173F #180A3F
triadic
#0A173F #3F0A17 #173F0A
tetradic
#0A173F #3F0A32 #3F320A #0A3F18
square
#0A173F #3F0A32 #3F320A #0A3F18
split-complementary
#0A173F #3F180A #323F0A
monochromatic
#040A1A #040A1A #0A173F #122A74 #1B3EA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A173F#FFFFFF#000000##FFFFFF
##0A173F1.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)
#001D40
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a173f;
/* rgb */ color: rgb(10, 23, 63);
/* oklch */ color: oklch(22.2% 0.079 266.4);
Tailwind
colors: {
  custom: {
    50: '#525374',
    500: '#0a173f',
    950: '#000000',
  },
}
SCSS
$custom: #0a173f;
$custom-light: #525374;
$custom-dark: #000000;
JSON
{
  "hex": "#0a173f",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 225.283,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22222,
    "c": 0.07858,
    "h": 266.4
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#0A173F
secondary
#7C6829
accent
#C238EF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A173F

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

Preview Lab → · Contrast checker → · Palette generator →

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