#0A0C44#0A0C44

#0A0C44 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.102 H 271.5°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#0A0C44
RGBrgb(10, 12, 68)
HSLhsl(238, 74%, 15%)
HSVhsv(238, 85%, 27%)
CMYKcmyk(85.3%, 82.4%, 0%, 73.3%)
CIE-LABlab(6.73, 21.60, -34.94)
CIE-LCHlch(6.73, 41.08, 301.73°)
OKLaboklab(20.45% 0.0027 -0.1015)
OKLCHoklch(20.45% 0.102 271.5)
XYZxyz(1.2997, 0.7447, 5.5430)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C44 #44420A
analogous
#0A2944 #0A0C44 #250A44
triadic
#0A0C44 #440A0C #0C440A
tetradic
#0A0C44 #440A29 #44420A #0A4425
square
#0A0C44 #440A29 #44420A #0A4425
split-complementary
#0A0C44 #44250A #29440A
monochromatic
#04051B #04051B #0A0C44 #121579 #1A1FAF

Accessibility & contrast

On white

18.28
#0A0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0C44
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C44#FFFFFF#000000##FFFFFF
##0A0C441.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001243
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0c44;
/* rgb */ color: rgb(10, 12, 68);
/* oklch */ color: oklch(20.5% 0.102 271.5);
Tailwind
colors: {
  custom: {
    50: '#554b79',
    500: '#0a0c44',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c44;
$custom-light: #554b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c44",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 237.931,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20451,
    "c": 0.10156,
    "h": 271.5
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#0A0C44
secondary
#817E29
accent
#EB37F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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