#0C2B42#0C2B42

#0C2B42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.056 H 244.4°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#0C2B42
RGBrgb(12, 43, 66)
HSLhsl(206, 69%, 15%)
HSVhsv(206, 82%, 26%)
CMYKcmyk(81.8%, 34.8%, 0%, 74.1%)
CIE-LABlab(16.50, -2.08, -17.78)
CIE-LCHlch(16.50, 17.90, 263.34°)
OKLaboklab(27.89% -0.0241 -0.0503)
OKLCHoklch(27.89% 0.056 244.4)
XYZxyz(1.9985, 2.1990, 5.4723)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B42 #42230C
analogous
#0C423E #0C2B42 #0C1042
triadic
#0C2B42 #420C2B #2B420C
tetradic
#0C2B42 #3E0C42 #42230C #10420C
square
#0C2B42 #3E0C42 #42230C #10420C
split-complementary
#0C2B42 #420C10 #423E0C
monochromatic
#05111A #05111A #0C2B42 #154D76 #1F6EAA

Accessibility & contrast

On white

14.59
#0C2B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B42
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B42#FFFFFF#000000##FFFFFF
##0C2B421.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2b42;
/* rgb */ color: rgb(12, 43, 66);
/* oklch */ color: oklch(27.9% 0.056 244.4);
Tailwind
colors: {
  custom: {
    50: '#536476',
    500: '#0c2b42',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b42;
$custom-light: #536476;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b42",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 66
  },
  "hsl": {
    "h": 205.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27893,
    "c": 0.05581,
    "h": 244.4
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#0C2B42
secondary
#7E4F2C
accent
#873CEC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2B42

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

Preview Lab → · Contrast checker → · Palette generator →

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