#0A1640#0A1640

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

Color values

HEX#0A1640
RGBrgb(10, 22, 64)
HSLhsl(227, 73%, 15%)
HSVhsv(227, 84%, 25%)
CMYKcmyk(84.4%, 65.6%, 0%, 74.9%)
CIE-LABlab(9.06, 12.68, -28.29)
CIE-LCHlch(9.06, 31.00, 294.15°)
OKLaboklab(22.08% -0.004 -0.0816)
OKLCHoklch(22.08% 0.082 267.2)
XYZxyz(1.3372, 1.0084, 4.9737)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1640 #40340A
analogous
#0A3140 #0A1640 #190A40
triadic
#0A1640 #400A16 #16400A
tetradic
#0A1640 #400A31 #40340A #0A4019
square
#0A1640 #400A31 #40340A #0A4019
split-complementary
#0A1640 #40190A #31400A
monochromatic
#04091A #04091A #0A1640 #122875 #1B3AAA

Accessibility & contrast

On white

17.47
#0A1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1640
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1640#FFFFFF#000000##FFFFFF
##0A16401.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1640;
/* rgb */ color: rgb(10, 22, 64);
/* oklch */ color: oklch(22.1% 0.082 267.2);
Tailwind
colors: {
  custom: {
    50: '#535275',
    500: '#0a1640',
    950: '#000000',
  },
}
SCSS
$custom: #0a1640;
$custom-light: #535275;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1640",
  "rgb": {
    "r": 10,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 226.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2208,
    "c": 0.08171,
    "h": 267.2
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#0A1640
secondary
#7D6A29
accent
#C738F0
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1640

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

Preview Lab → · Contrast checker → · Palette generator →

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