#0A0B2F#0A0B2F

#0A0B2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.070 H 275.4°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#0A0B2F
RGBrgb(10, 11, 47)
HSLhsl(238, 65%, 11%)
HSVhsv(238, 79%, 18%)
CMYKcmyk(78.7%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.60, 11.22, -23.15)
CIE-LCHlch(4.60, 25.72, 295.87°)
OKLaboklab(17.77% 0.0066 -0.0699)
OKLCHoklch(17.77% 0.07 275.4)
XYZxyz(0.7578, 0.5090, 2.7471)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0B2F #2F2E0A
analogous
#0A1D2F #0A0B2F #1B0A2F
triadic
#0A0B2F #2F0A0B #0B2F0A
tetradic
#0A0B2F #2F0A1D #2F2E0A #0A2F1B
square
#0A0B2F #2F0A1D #2F2E0A #0A2F1B
split-complementary
#0A0B2F #2F1B0A #1D2F0A
monochromatic
#050619 #050619 #0A0B2F #151761 #1F2394

Accessibility & contrast

On white

19.06
#0A0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0A0B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0B2F
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0B2F#FFFFFF#000000##FFFFFF
##0A0B2F1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0b2f;
/* rgb */ color: rgb(10, 11, 47);
/* oklch */ color: oklch(17.8% 0.070 275.4);
Tailwind
colors: {
  custom: {
    50: '#4d4b68',
    500: '#0a0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #0a0b2f;
$custom-light: #4d4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0b2f",
  "rgb": {
    "r": 10,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 238.378,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17768,
    "c": 0.07023,
    "h": 275.4
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#0A0B2F
secondary
#6C6A29
accent
#E340E8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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