#0C2C47#0C2C47

#0C2C47 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.062 H 247.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#0C2C47
RGBrgb(12, 44, 71)
HSLhsl(207, 71%, 16%)
HSVhsv(207, 83%, 28%)
CMYKcmyk(83.1%, 38%, 0%, 72.2%)
CIE-LABlab(17.15, -0.63, -20.18)
CIE-LCHlch(17.15, 20.19, 268.20°)
OKLaboklab(28.51% -0.0235 -0.0573)
OKLCHoklch(28.51% 0.062 247.7)
XYZxyz(2.1892, 2.3342, 6.2952)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C47 #47270C
analogous
#0C4745 #0C2C47 #0C0F47
triadic
#0C2C47 #470C2C #2C470C
tetradic
#0C2C47 #450C47 #47270C #0F470C
square
#0C2C47 #450C47 #47270C #0F470C
split-complementary
#0C2C47 #470C0F #47450C
monochromatic
#04101A #04101A #0C2C47 #154C7B #1E6DB0

Accessibility & contrast

On white

14.32
#0C2C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C47
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C47#FFFFFF#000000##FFFFFF
##0C2C471.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D48
Deuteranopia (green-blind)
#172846
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2c47;
/* rgb */ color: rgb(12, 44, 71);
/* oklch */ color: oklch(28.5% 0.062 247.7);
Tailwind
colors: {
  custom: {
    50: '#55647a',
    500: '#0c2c47',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c47;
$custom-light: #55647a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c47",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 71
  },
  "hsl": {
    "h": 207.458,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28505,
    "c": 0.06196,
    "h": 247.7
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#0C2C47
secondary
#83542C
accent
#8C3AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2C47

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

Preview Lab → · Contrast checker → · Palette generator →

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