#0A0C2E#0A0C2E

#0A0C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.067 H 274.8°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#0A0C2E
RGBrgb(10, 12, 46)
HSLhsl(237, 64%, 11%)
HSVhsv(237, 78%, 18%)
CMYKcmyk(78.3%, 73.9%, 0%, 82%)
CIE-LABlab(4.74, 10.28, -22.17)
CIE-LCHlch(4.74, 24.44, 294.87°)
OKLaboklab(17.88% 0.0056 -0.0667)
OKLCHoklch(17.88% 0.067 274.8)
XYZxyz(0.7496, 0.5247, 2.6460)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C2E #2E2C0A
analogous
#0A1E2E #0A0C2E #1A0A2E
triadic
#0A0C2E #2E0A0C #0C2E0A
tetradic
#0A0C2E #2E0A1E #2E2C0A #0A2E1A
square
#0A0C2E #2E0A1E #2E2C0A #0A2E1A
split-complementary
#0A0C2E #2E1A0A #1E2E0A
monochromatic
#050719 #050719 #0A0C2E #151960 #202693

Accessibility & contrast

On white

19.00
#0A0C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C2E
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C2E#FFFFFF#000000##FFFFFF
##0A0C2E1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0c2e;
/* rgb */ color: rgb(10, 12, 46);
/* oklch */ color: oklch(17.9% 0.067 274.8);
Tailwind
colors: {
  custom: {
    50: '#4d4c67',
    500: '#0a0c2e',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c2e;
$custom-light: #4d4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c2e",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 236.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17884,
    "c": 0.06698,
    "h": 274.8
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#0A0C2E
secondary
#6B6729
accent
#DE41E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #0A0C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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