#0C2D47#0C2D47

#0C2D47 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.061 H 246.1°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#0C2D47
RGBrgb(12, 45, 71)
HSLhsl(206, 71%, 16%)
HSVhsv(206, 83%, 28%)
CMYKcmyk(83.1%, 36.6%, 0%, 72.2%)
CIE-LABlab(17.50, -1.34, -19.62)
CIE-LCHlch(17.50, 19.67, 266.08°)
OKLaboklab(28.78% -0.0246 -0.0557)
OKLCHoklch(28.78% 0.061 246.1)
XYZxyz(2.2269, 2.4096, 6.3078)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D47 #47260C
analogous
#0C4744 #0C2D47 #0C1047
triadic
#0C2D47 #470C2D #2D470C
tetradic
#0C2D47 #440C47 #47260C #10470C
square
#0C2D47 #440C47 #47260C #10470C
split-complementary
#0C2D47 #470C10 #47440C
monochromatic
#04111A #04111A #0C2D47 #154E7B #1E6FB0

Accessibility & contrast

On white

14.17
#0C2D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D47
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D47#FFFFFF#000000##FFFFFF
##0C2D471.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E48
Deuteranopia (green-blind)
#192847
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2d47;
/* rgb */ color: rgb(12, 45, 71);
/* oklch */ color: oklch(28.8% 0.061 246.1);
Tailwind
colors: {
  custom: {
    50: '#55657a',
    500: '#0c2d47',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d47;
$custom-light: #55657a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d47",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 206.441,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28783,
    "c": 0.06088,
    "h": 246.1
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#0C2D47
secondary
#83522C
accent
#893AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2D47

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

Preview Lab → · Contrast checker → · Palette generator →

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