#0A0C43#0A0C43

#0A0C43 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.100 H 271.7°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#0A0C43
RGBrgb(10, 12, 67)
HSLhsl(238, 74%, 15%)
HSVhsv(238, 85%, 26%)
CMYKcmyk(85.1%, 82.1%, 0%, 73.7%)
CIE-LABlab(6.62, 21.14, -34.41)
CIE-LCHlch(6.62, 40.39, 301.56°)
OKLaboklab(20.33% 0.0029 -0.1)
OKLCHoklch(20.33% 0.1 271.7)
XYZxyz(1.2694, 0.7326, 5.3836)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C43 #43410A
analogous
#0A2843 #0A0C43 #250A43
triadic
#0A0C43 #430A0C #0C430A
tetradic
#0A0C43 #430A28 #43410A #0A4325
square
#0A0C43 #430A28 #43410A #0A4325
split-complementary
#0A0C43 #43250A #28430A
monochromatic
#04051B #04051B #0A0C43 #121678 #1A1FAE

Accessibility & contrast

On white

18.32
#0A0C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A0C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C43
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C43#FFFFFF#000000##FFFFFF
##0A0C431.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001242
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0c43;
/* rgb */ color: rgb(10, 12, 67);
/* oklch */ color: oklch(20.3% 0.100 271.7);
Tailwind
colors: {
  custom: {
    50: '#554b78',
    500: '#0a0c43',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c43;
$custom-light: #554b78;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c43",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 237.895,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20326,
    "c": 0.10009,
    "h": 271.7
  },
  "luminance": 0.00733
}

Semantic roles & 50–950 ramp

primary
#0A0C43
secondary
#807D29
accent
#EA37F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0C43

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

Preview Lab → · Contrast checker → · Palette generator →

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