#0C0743#0C0743

#0C0743 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.6% C 0.105 H 274.6°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#0C0743
RGBrgb(12, 7, 67)
HSLhsl(245, 81%, 15%)
HSVhsv(245, 90%, 26%)
CMYKcmyk(82.1%, 89.6%, 0%, 73.7%)
CIE-LABlab(5.74, 24.02, -35.85)
CIE-LCHlch(5.74, 43.15, 303.82°)
OKLaboklab(19.63% 0.0084 -0.1049)
OKLCHoklch(19.63% 0.105 274.6)
XYZxyz(1.2404, 0.6352, 5.3663)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0743 #3E4307
analogous
#072043 #0C0743 #2A0743
triadic
#0C0743 #430C07 #07430C
tetradic
#0C0743 #430720 #3E4307 #07432A
square
#0C0743 #430720 #3E4307 #07432A
split-complementary
#0C0743 #432A07 #204307
monochromatic
#05031C #05031C #0C0743 #160D7A #2013B2

Accessibility & contrast

On white

18.63
#0C0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0C0743 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0743
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0743#FFFFFF#000000##FFFFFF
##0C07431.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001545
Deuteranopia (green-blind)
#001042
Tritanopia (blue-blind)
#001925
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c0743;
/* rgb */ color: rgb(12, 7, 67);
/* oklch */ color: oklch(19.6% 0.105 274.6);
Tailwind
colors: {
  custom: {
    50: '#564878',
    500: '#0c0743',
    950: '#000000',
  },
}
SCSS
$custom: #0c0743;
$custom-light: #564878;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0743",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 245,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19628,
    "c": 0.10528,
    "h": 274.6
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#0C0743
secondary
#7A8224
accent
#F730E7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0C0743

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

Preview Lab → · Contrast checker → · Palette generator →

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