#0C0744#0C0744

#0C0744 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.8% C 0.107 H 274.4°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#0C0744
RGBrgb(12, 7, 68)
HSLhsl(245, 81%, 15%)
HSVhsv(245, 90%, 27%)
CMYKcmyk(82.4%, 89.7%, 0%, 73.3%)
CIE-LABlab(5.85, 24.50, -36.38)
CIE-LCHlch(5.85, 43.86, 303.96°)
OKLaboklab(19.76% 0.0081 -0.1063)
OKLCHoklch(19.76% 0.107 274.4)
XYZxyz(1.2706, 0.6473, 5.5257)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0744 #3F4407
analogous
#072144 #0C0744 #2B0744
triadic
#0C0744 #440C07 #07440C
tetradic
#0C0744 #440721 #3F4407 #07442B
square
#0C0744 #440721 #3F4407 #07442B
split-complementary
#0C0744 #442B07 #214407
monochromatic
#05031C #05031C #0C0744 #160D7B #2012B3

Accessibility & contrast

On white

18.59
#0C0744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0744
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0744#FFFFFF#000000##FFFFFF
##0C07441.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001646
Deuteranopia (green-blind)
#001043
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0c0744;
/* rgb */ color: rgb(12, 7, 68);
/* oklch */ color: oklch(19.8% 0.107 274.4);
Tailwind
colors: {
  custom: {
    50: '#564879',
    500: '#0c0744',
    950: '#000000',
  },
}
SCSS
$custom: #0c0744;
$custom-light: #564879;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0744",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 244.918,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19762,
    "c": 0.10666,
    "h": 274.4
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#0C0744
secondary
#7B8324
accent
#F830E7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #0C0744

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

Preview Lab → · Contrast checker → · Palette generator →

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