#0C0749#0C0749

#0C0749 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.113 H 273.3°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#0C0749
RGBrgb(12, 7, 73)
HSLhsl(245, 83%, 16%)
HSVhsv(245, 90%, 29%)
CMYKcmyk(83.6%, 90.4%, 0%, 71.4%)
CIE-LABlab(6.42, 26.78, -38.96)
CIE-LCHlch(6.42, 47.27, 304.51°)
OKLaboklab(20.44% 0.0066 -0.1133)
OKLCHoklch(20.44% 0.113 273.3)
XYZxyz(1.4298, 0.7110, 6.3639)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0749 #444907
analogous
#072349 #0C0749 #2D0749
triadic
#0C0749 #490C07 #07490C
tetradic
#0C0749 #490723 #444907 #07492D
square
#0C0749 #490723 #444907 #07492D
split-complementary
#0C0749 #492D07 #234907
monochromatic
#05031C #05031C #0C0749 #150C81 #1E12B9

Accessibility & contrast

On white

18.39
#0C0749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0749
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0749#FFFFFF#000000##FFFFFF
##0C07491.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00174B
Deuteranopia (green-blind)
#001148
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c0749;
/* rgb */ color: rgb(12, 7, 73);
/* oklch */ color: oklch(20.4% 0.113 273.3);
Tailwind
colors: {
  custom: {
    50: '#58497d',
    500: '#0c0749',
    950: '#000000',
  },
}
SCSS
$custom: #0c0749;
$custom-light: #58497d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0749",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 244.545,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20437,
    "c": 0.11346,
    "h": 273.3
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#0C0749
secondary
#808824
accent
#F92FEA
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0C0749

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

Preview Lab → · Contrast checker → · Palette generator →

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