#0C2746#0C2746

#0C2746 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.066 H 254.0°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#0C2746
RGBrgb(12, 39, 70)
HSLhsl(212, 71%, 16%)
HSVhsv(212, 83%, 27%)
CMYKcmyk(82.9%, 44.3%, 0%, 72.5%)
CIE-LABlab(15.34, 2.56, -22.37)
CIE-LCHlch(15.34, 22.52, 276.53°)
OKLaboklab(27.06% -0.0183 -0.0638)
OKLCHoklch(27.06% 0.066 254)
XYZxyz(1.9822, 1.9712, 6.0692)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2746 #462B0C
analogous
#0C4446 #0C2746 #0E0C46
triadic
#0C2746 #460C27 #27460C
tetradic
#0C2746 #460C44 #462B0C #0C460E
square
#0C2746 #460C44 #462B0C #0C460E
split-complementary
#0C2746 #460E0C #44460C
monochromatic
#040F1A #040F1A #0C2746 #15447A #1E61AE

Accessibility & contrast

On white

15.06
#0C2746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2746
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2746#FFFFFF#000000##FFFFFF
##0C27461.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182947
Deuteranopia (green-blind)
#0F2445
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2746;
/* rgb */ color: rgb(12, 39, 70);
/* oklch */ color: oklch(27.1% 0.066 254.0);
Tailwind
colors: {
  custom: {
    50: '#546079',
    500: '#0c2746',
    950: '#000000',
  },
}
SCSS
$custom: #0c2746;
$custom-light: #546079;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2746",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 70
  },
  "hsl": {
    "h": 212.069,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27061,
    "c": 0.06641,
    "h": 254
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#0C2746
secondary
#825A2C
accent
#9A3AED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2746

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

Preview Lab → · Contrast checker → · Palette generator →

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