#0A1940#0A1940

#0A1940 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.077 H 265.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#0A1940
RGBrgb(10, 25, 64)
HSLhsl(223, 73%, 15%)
HSVhsv(223, 84%, 25%)
CMYKcmyk(84.4%, 60.9%, 0%, 74.9%)
CIE-LABlab(10.03, 10.31, -26.71)
CIE-LCHlch(10.03, 28.63, 291.10°)
OKLaboklab(22.81% -0.0068 -0.0769)
OKLCHoklch(22.81% 0.077 265)
XYZxyz(1.3979, 1.1298, 4.9939)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1940 #40310A
analogous
#0A3440 #0A1940 #160A40
triadic
#0A1940 #400A19 #19400A
tetradic
#0A1940 #400A34 #40310A #0A4016
square
#0A1940 #400A34 #40310A #0A4016
split-complementary
#0A1940 #40160A #34400A
monochromatic
#040A1A #040A1A #0A1940 #122E75 #1B42AA

Accessibility & contrast

On white

17.13
#0A1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1940
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1940#FFFFFF#000000##FFFFFF
##0A19401.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0a1940;
/* rgb */ color: rgb(10, 25, 64);
/* oklch */ color: oklch(22.8% 0.077 265.0);
Tailwind
colors: {
  custom: {
    50: '#535575',
    500: '#0a1940',
    950: '#000000',
  },
}
SCSS
$custom: #0a1940;
$custom-light: #535575;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1940",
  "rgb": {
    "r": 10,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 223.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22809,
    "c": 0.07723,
    "h": 265
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#0A1940
secondary
#7D6629
accent
#BD38F0
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0A1940

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

Preview Lab → · Contrast checker → · Palette generator →

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