#0A1127#0A1127

#0A1127 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.5% C 0.046 H 268.4°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#0A1127
RGBrgb(10, 17, 39)
HSLhsl(226, 59%, 10%)
HSVhsv(226, 74%, 15%)
CMYKcmyk(74.4%, 56.4%, 0%, 84.7%)
CIE-LABlab(5.53, 4.51, -15.66)
CIE-LCHlch(5.53, 16.30, 286.07°)
OKLaboklab(18.49% -0.0013 -0.0461)
OKLCHoklch(18.49% 0.046 268.4)
XYZxyz(0.6917, 0.6119, 2.0007)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1127 #27200A
analogous
#0A2027 #0A1127 #120A27
triadic
#0A1127 #270A11 #11270A
tetradic
#0A1127 #270A20 #27200A #0A2712
square
#0A1127 #270A20 #27200A #0A2712
split-complementary
#0A1127 #27120A #20270A
monochromatic
#060B18 #060B18 #0A1127 #162658 #233B88

Accessibility & contrast

On white

18.71
#0A1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A1127
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1127#FFFFFF#000000##FFFFFF
##0A11271.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071428
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0a1127;
/* rgb */ color: rgb(10, 17, 39);
/* oklch */ color: oklch(18.5% 0.046 268.4);
Tailwind
colors: {
  custom: {
    50: '#4c4f61',
    500: '#0a1127',
    950: '#000000',
  },
}
SCSS
$custom: #0a1127;
$custom-light: #4c4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1127",
  "rgb": {
    "r": 10,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 225.517,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18485,
    "c": 0.04617,
    "h": 268.4
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#0A1127
secondary
#645529
accent
#BC45E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #0A1127

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

Preview Lab → · Contrast checker → · Palette generator →

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