#0A102E#0A102E

#0A102E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.061 H 271.0°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#0A102E
RGBrgb(10, 16, 46)
HSLhsl(230, 64%, 11%)
HSVhsv(230, 78%, 18%)
CMYKcmyk(78.3%, 65.2%, 0%, 82%)
CIE-LABlab(5.71, 8.29, -20.63)
CIE-LCHlch(5.71, 22.23, 291.90°)
OKLaboklab(18.85% 0.001 -0.0605)
OKLCHoklch(18.85% 0.061 271)
XYZxyz(0.8034, 0.6323, 2.6639)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A102E #2E280A
analogous
#0A222E #0A102E #160A2E
triadic
#0A102E #2E0A10 #102E0A
tetradic
#0A102E #2E0A22 #2E280A #0A2E16
square
#0A102E #2E0A22 #2E280A #0A2E16
split-complementary
#0A102E #2E160A #222E0A
monochromatic
#050919 #050919 #0A102E #152160 #203393

Accessibility & contrast

On white

18.64
#0A102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A102E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A102E#FFFFFF#000000##FFFFFF
##0A102E1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#00171C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a102e;
/* rgb */ color: rgb(10, 16, 46);
/* oklch */ color: oklch(18.8% 0.061 271.0);
Tailwind
colors: {
  custom: {
    50: '#4d4e67',
    500: '#0a102e',
    950: '#000000',
  },
}
SCSS
$custom: #0a102e;
$custom-light: #4d4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#0a102e",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 230,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18848,
    "c": 0.06053,
    "h": 271
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#0A102E
secondary
#6B6029
accent
#CB41E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A102E

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

Preview Lab → · Contrast checker → · Palette generator →

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