#0A1740#0A1740

#0A1740 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.080 H 266.5°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#0A1740
RGBrgb(10, 23, 64)
HSLhsl(226, 73%, 15%)
HSVhsv(226, 84%, 25%)
CMYKcmyk(84.4%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.38, 11.89, -27.77)
CIE-LCHlch(9.38, 30.21, 293.19°)
OKLaboklab(22.32% -0.0049 -0.0801)
OKLCHoklch(22.32% 0.08 266.5)
XYZxyz(1.3567, 1.0473, 4.9802)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1740 #40330A
analogous
#0A3240 #0A1740 #180A40
triadic
#0A1740 #400A17 #17400A
tetradic
#0A1740 #400A32 #40330A #0A4018
square
#0A1740 #400A32 #40330A #0A4018
split-complementary
#0A1740 #40180A #32400A
monochromatic
#040A1A #040A1A #0A1740 #122A75 #1B3DAA

Accessibility & contrast

On white

17.36
#0A1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1740
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1740#FFFFFF#000000##FFFFFF
##0A17401.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0a1740;
/* rgb */ color: rgb(10, 23, 64);
/* oklch */ color: oklch(22.3% 0.080 266.5);
Tailwind
colors: {
  custom: {
    50: '#535375',
    500: '#0a1740',
    950: '#000000',
  },
}
SCSS
$custom: #0a1740;
$custom-light: #535375;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1740",
  "rgb": {
    "r": 10,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 225.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22319,
    "c": 0.08022,
    "h": 266.5
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#0A1740
secondary
#7D6929
accent
#C338F0
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1740

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

Preview Lab → · Contrast checker → · Palette generator →

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