#0A102C#0A102C

#0A102C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.057 H 270.8°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#0A102C
RGBrgb(10, 16, 44)
HSLhsl(229, 63%, 11%)
HSVhsv(229, 77%, 17%)
CMYKcmyk(77.3%, 63.6%, 0%, 82.7%)
CIE-LABlab(5.57, 7.31, -19.35)
CIE-LCHlch(5.57, 20.69, 290.70°)
OKLaboklab(18.66% 0.0008 -0.057)
OKLCHoklch(18.66% 0.057 270.8)
XYZxyz(0.7649, 0.6169, 2.4611)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A102C #2C260A
analogous
#0A212C #0A102C #150A2C
triadic
#0A102C #2C0A10 #102C0A
tetradic
#0A102C #2C0A21 #2C260A #0A2C15
square
#0A102C #2C0A21 #2C260A #0A2C15
split-complementary
#0A102C #2C150A #212C0A
monochromatic
#060919 #060919 #0A102C #15225E #213490

Accessibility & contrast

On white

18.69
#0A102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0A102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A102C
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A102C#FFFFFF#000000##FFFFFF
##0A102C1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a102c;
/* rgb */ color: rgb(10, 16, 44);
/* oklch */ color: oklch(18.7% 0.057 270.8);
Tailwind
colors: {
  custom: {
    50: '#4d4e65',
    500: '#0a102c',
    950: '#000000',
  },
}
SCSS
$custom: #0a102c;
$custom-light: #4d4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#0a102c",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 229.412,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1866,
    "c": 0.05697,
    "h": 270.8
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#0A102C
secondary
#695E29
accent
#C942E6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #0A102C

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

Preview Lab → · Contrast checker → · Palette generator →

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