#0A1027#0A1027

#0A1027 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.048 H 270.1°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#0A1027
RGBrgb(10, 16, 39)
HSLhsl(228, 59%, 10%)
HSVhsv(228, 74%, 15%)
CMYKcmyk(74.4%, 59%, 0%, 84.7%)
CIE-LABlab(5.25, 5.08, -16.09)
CIE-LCHlch(5.25, 16.87, 287.51°)
OKLaboklab(18.21% 0.0001 -0.0478)
OKLCHoklch(18.21% 0.048 270.1)
XYZxyz(0.6766, 0.5815, 1.9957)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1027 #27210A
analogous
#0A1F27 #0A1027 #130A27
triadic
#0A1027 #270A10 #10270A
tetradic
#0A1027 #270A1F #27210A #0A2713
square
#0A1027 #270A1F #27210A #0A2713
split-complementary
#0A1027 #27130A #1F270A
monochromatic
#060A18 #060A18 #0A1027 #162458 #233888

Accessibility & contrast

On white

18.81
#0A1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1027
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1027#FFFFFF#000000##FFFFFF
##0A10271.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061328
Deuteranopia (green-blind)
#031027
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a1027;
/* rgb */ color: rgb(10, 16, 39);
/* oklch */ color: oklch(18.2% 0.048 270.1);
Tailwind
colors: {
  custom: {
    50: '#4c4e61',
    500: '#0a1027',
    950: '#000000',
  },
}
SCSS
$custom: #0a1027;
$custom-light: #4c4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1027",
  "rgb": {
    "r": 10,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 227.586,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18213,
    "c": 0.04784,
    "h": 270.1
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#0A1027
secondary
#645729
accent
#C245E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #0A1027

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

Preview Lab → · Contrast checker → · Palette generator →

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