#0C2F42#0C2F42

#0C2F42 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.052 H 236.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#0C2F42
RGBrgb(12, 47, 66)
HSLhsl(201, 69%, 15%)
HSVhsv(201, 82%, 26%)
CMYKcmyk(81.8%, 28.8%, 0%, 74.1%)
CIE-LABlab(17.94, -4.85, -15.52)
CIE-LCHlch(17.94, 16.26, 252.63°)
OKLaboklab(29.03% -0.0289 -0.0437)
OKLCHoklch(29.03% 0.052 236.6)
XYZxyz(2.1511, 2.5043, 5.5232)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F42 #421F0C
analogous
#0C423A #0C2F42 #0C1442
triadic
#0C2F42 #420C2F #2F420C
tetradic
#0C2F42 #3A0C42 #421F0C #14420C
square
#0C2F42 #3A0C42 #421F0C #14420C
split-complementary
#0C2F42 #420C14 #423A0C
monochromatic
#05121A #05121A #0C2F42 #155476 #1F79AA

Accessibility & contrast

On white

13.99
#0C2F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C2F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F42
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F42#FFFFFF#000000##FFFFFF
##0C2F421.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#1F2A42
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2f42;
/* rgb */ color: rgb(12, 47, 66);
/* oklch */ color: oklch(29.0% 0.052 236.6);
Tailwind
colors: {
  custom: {
    50: '#546776',
    500: '#0c2f42',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f42;
$custom-light: #546776;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f42",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 201.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.05239,
    "h": 236.6
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#0C2F42
secondary
#7E492C
accent
#7A3CEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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