#0C0739#0C0739

#0C0739 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.091 H 277.2°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#0C0739
RGBrgb(12, 7, 57)
HSLhsl(246, 78%, 13%)
HSVhsv(246, 88%, 22%)
CMYKcmyk(78.9%, 87.7%, 0%, 77.6%)
CIE-LABlab(4.75, 18.88, -30.27)
CIE-LCHlch(4.75, 35.68, 301.95°)
OKLaboklab(18.32% 0.0114 -0.0904)
OKLCHoklch(18.32% 0.091 277.2)
XYZxyz(0.9659, 0.5254, 3.9206)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0739 #343907
analogous
#071B39 #0C0739 #250739
triadic
#0C0739 #390C07 #07390C
tetradic
#0C0739 #39071B #343907 #073925
square
#0C0739 #39071B #343907 #073925
split-complementary
#0C0739 #392507 #1B3907
monochromatic
#06031B #06031B #0C0739 #170E70 #2314A6

Accessibility & contrast

On white

19.00
#0C0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C0739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0739
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0739#FFFFFF#000000##FFFFFF
##0C07391.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c0739;
/* rgb */ color: rgb(12, 7, 57);
/* oklch */ color: oklch(18.3% 0.091 277.2);
Tailwind
colors: {
  custom: {
    50: '#524970',
    500: '#0c0739',
    950: '#000000',
  },
}
SCSS
$custom: #0c0739;
$custom-light: #524970;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0739",
  "rgb": {
    "r": 12,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 246,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.1832,
    "c": 0.09109,
    "h": 277.2
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#0C0739
secondary
#707923
accent
#F533E1
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0C0739

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

Preview Lab → · Contrast checker → · Palette generator →

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