#0A0C49#0A0C49

#0A0C49 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.109 H 270.9°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0A0C49
RGBrgb(10, 12, 73)
HSLhsl(238, 76%, 16%)
HSVhsv(238, 86%, 29%)
CMYKcmyk(86.3%, 83.6%, 0%, 71.4%)
CIE-LABlab(7.30, 23.82, -37.51)
CIE-LCHlch(7.30, 44.43, 302.41°)
OKLaboklab(21.08% 0.0018 -0.1087)
OKLCHoklch(21.08% 0.109 270.9)
XYZxyz(1.4588, 0.8084, 6.3812)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C49 #49470A
analogous
#0A2C49 #0A0C49 #280A49
triadic
#0A0C49 #490A0C #0C490A
tetradic
#0A0C49 #490A2C #49470A #0A4928
square
#0A0C49 #490A2C #49470A #0A4928
split-complementary
#0A0C49 #49280A #2C490A
monochromatic
#04041B #04041B #0A0C49 #11157F #191EB5

Accessibility & contrast

On white

18.08
#0A0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A0C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C49
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C49#FFFFFF#000000##FFFFFF
##0A0C491.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001348
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a0c49;
/* rgb */ color: rgb(10, 12, 73);
/* oklch */ color: oklch(21.1% 0.109 270.9);
Tailwind
colors: {
  custom: {
    50: '#574b7d',
    500: '#0a0c49',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c49;
$custom-light: #574b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c49",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 238.095,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21083,
    "c": 0.10874,
    "h": 270.9
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#0A0C49
secondary
#868329
accent
#EC35F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0A0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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