#0C0A44#0C0A44

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

Color values

HEX#0C0A44
RGBrgb(12, 10, 68)
HSLhsl(242, 74%, 15%)
HSVhsv(242, 85%, 27%)
CMYKcmyk(82.4%, 85.3%, 0%, 73.3%)
CIE-LABlab(6.44, 22.97, -35.41)
CIE-LCHlch(6.44, 42.21, 302.96°)
OKLaboklab(20.25% 0.0065 -0.103)
OKLCHoklch(20.25% 0.103 273.6)
XYZxyz(1.3032, 0.7125, 5.5366)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0A44 #42440A
analogous
#0A2544 #0C0A44 #290A44
triadic
#0C0A44 #440C0A #0A440C
tetradic
#0C0A44 #440A25 #42440A #0A4429
square
#0C0A44 #440A25 #42440A #0A4429
split-complementary
#0C0A44 #44290A #25440A
monochromatic
#05041B #05041B #0C0A44 #151279 #1F1AAF

Accessibility & contrast

On white

18.38
#0C0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0C0A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0A44
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0A44#FFFFFF#000000##FFFFFF
##0C0A441.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001143
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c0a44;
/* rgb */ color: rgb(12, 10, 68);
/* oklch */ color: oklch(20.3% 0.103 273.6);
Tailwind
colors: {
  custom: {
    50: '#564a79',
    500: '#0c0a44',
    950: '#000000',
  },
}
SCSS
$custom: #0c0a44;
$custom-light: #564a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0a44",
  "rgb": {
    "r": 12,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 242.069,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20253,
    "c": 0.10324,
    "h": 273.6
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#0C0A44
secondary
#7E8129
accent
#F137EB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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