#0A1741#0A1741

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

Color values

HEX#0A1741
RGBrgb(10, 23, 65)
HSLhsl(226, 73%, 15%)
HSVhsv(226, 85%, 25%)
CMYKcmyk(84.6%, 64.6%, 0%, 74.5%)
CIE-LABlab(9.47, 12.34, -28.32)
CIE-LCHlch(9.47, 30.90, 293.55°)
OKLaboklab(22.42% -0.0049 -0.0817)
OKLCHoklch(22.42% 0.082 266.6)
XYZxyz(1.3854, 1.0588, 5.1314)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1741 #41340A
analogous
#0A3341 #0A1741 #190A41
triadic
#0A1741 #410A17 #17410A
tetradic
#0A1741 #410A33 #41340A #0A4119
square
#0A1741 #410A33 #41340A #0A4119
split-complementary
#0A1741 #41190A #33410A
monochromatic
#04091B #04091B #0A1741 #122A76 #1A3DAB

Accessibility & contrast

On white

17.33
#0A1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1741
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1741#FFFFFF#000000##FFFFFF
##0A17411.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1741;
/* rgb */ color: rgb(10, 23, 65);
/* oklch */ color: oklch(22.4% 0.082 266.6);
Tailwind
colors: {
  custom: {
    50: '#535376',
    500: '#0a1741',
    950: '#000000',
  },
}
SCSS
$custom: #0a1741;
$custom-light: #535376;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1741",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 225.818,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22418,
    "c": 0.08186,
    "h": 266.6
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#0A1741
secondary
#7E6A29
accent
#C438F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1741

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

Preview Lab → · Contrast checker → · Palette generator →

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