#0A174A#0A174A

#0A174A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.096 H 267.2°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#0A174A
RGBrgb(10, 23, 74)
HSLhsl(228, 76%, 16%)
HSVhsv(228, 86%, 29%)
CMYKcmyk(86.5%, 68.9%, 0%, 71%)
CIE-LABlab(10.35, 16.36, -33.20)
CIE-LCHlch(10.35, 37.01, 296.22°)
OKLaboklab(23.34% -0.0047 -0.096)
OKLCHoklch(23.34% 0.096 267.2)
XYZxyz(1.6672, 1.1715, 6.6155)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A174A #4A3D0A
analogous
#0A374A #0A174A #1D0A4A
triadic
#0A174A #4A0A17 #174A0A
tetradic
#0A174A #4A0A37 #4A3D0A #0A4A1D
square
#0A174A #4A0A37 #4A3D0A #0A4A1D
split-complementary
#0A174A #4A1D0A #374A0A
monochromatic
#04081B #04081B #0A174A #112880 #1939B6

Accessibility & contrast

On white

17.01
#0A174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0A174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A174A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A174A#FFFFFF#000000##FFFFFF
##0A174A1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0a174a;
/* rgb */ color: rgb(10, 23, 74);
/* oklch */ color: oklch(23.3% 0.096 267.2);
Tailwind
colors: {
  custom: {
    50: '#56537d',
    500: '#0a174a',
    950: '#000000',
  },
}
SCSS
$custom: #0a174a;
$custom-light: #56537d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a174a",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 227.813,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23341,
    "c": 0.09614,
    "h": 267.2
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#0A174A
secondary
#877429
accent
#CC35F3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#03020A
muted
#78787C

Preview Lab

Preview with #0A174A

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

Preview Lab → · Contrast checker → · Palette generator →

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