#0C0A41#0C0A41

#0C0A41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.099 H 274.2°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#0C0A41
RGBrgb(12, 10, 65)
HSLhsl(242, 73%, 15%)
HSVhsv(242, 85%, 25%)
CMYKcmyk(81.5%, 84.6%, 0%, 74.5%)
CIE-LABlab(6.11, 21.56, -33.81)
CIE-LCHlch(6.11, 40.10, 302.53°)
OKLaboklab(19.87% 0.0073 -0.0986)
OKLCHoklch(19.87% 0.099 274.2)
XYZxyz(1.2140, 0.6768, 5.0667)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0A41 #3F410A
analogous
#0A2441 #0C0A41 #280A41
triadic
#0C0A41 #410C0A #0A410C
tetradic
#0C0A41 #410A24 #3F410A #0A4128
square
#0C0A41 #410A24 #3F410A #0A4128
split-complementary
#0C0A41 #41280A #24410A
monochromatic
#05041B #05041B #0C0A41 #161276 #201AAB

Accessibility & contrast

On white

18.50
#0C0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0A41
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0A41#FFFFFF#000000##FFFFFF
##0C0A411.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c0a41;
/* rgb */ color: rgb(12, 10, 65);
/* oklch */ color: oklch(19.9% 0.099 274.2);
Tailwind
colors: {
  custom: {
    50: '#554a76',
    500: '#0c0a41',
    950: '#000000',
  },
}
SCSS
$custom: #0c0a41;
$custom-light: #554a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0a41",
  "rgb": {
    "r": 12,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 242.182,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19873,
    "c": 0.09892,
    "h": 274.2
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#0C0A41
secondary
#7B7E29
accent
#F038E9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0C0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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