#0A1641#0A1641

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

Color values

HEX#0A1641
RGBrgb(10, 22, 65)
HSLhsl(227, 73%, 15%)
HSVhsv(227, 85%, 25%)
CMYKcmyk(84.6%, 66.2%, 0%, 74.5%)
CIE-LABlab(9.16, 13.13, -28.84)
CIE-LCHlch(9.16, 31.69, 294.48°)
OKLaboklab(22.18% -0.004 -0.0832)
OKLCHoklch(22.18% 0.083 267.2)
XYZxyz(1.3659, 1.0199, 5.1249)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1641 #41350A
analogous
#0A3241 #0A1641 #1A0A41
triadic
#0A1641 #410A16 #16410A
tetradic
#0A1641 #410A32 #41350A #0A411A
square
#0A1641 #410A32 #41350A #0A411A
split-complementary
#0A1641 #411A0A #32410A
monochromatic
#04091B #04091B #0A1641 #122876 #1A3AAB

Accessibility & contrast

On white

17.44
#0A1641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0A1641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1641
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1641#FFFFFF#000000##FFFFFF
##0A16411.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1641;
/* rgb */ color: rgb(10, 22, 65);
/* oklch */ color: oklch(22.2% 0.083 267.2);
Tailwind
colors: {
  custom: {
    50: '#535276',
    500: '#0a1641',
    950: '#000000',
  },
}
SCSS
$custom: #0a1641;
$custom-light: #535276;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1641",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 226.909,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22181,
    "c": 0.08334,
    "h": 267.2
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#0A1641
secondary
#7E6C29
accent
#C838F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1641

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

Preview Lab → · Contrast checker → · Palette generator →

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