#0C2437#0C2437

#0C2437 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.047 H 245.2°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#0C2437
RGBrgb(12, 36, 55)
HSLhsl(207, 64%, 13%)
HSVhsv(207, 78%, 22%)
CMYKcmyk(78.2%, 34.5%, 0%, 78.4%)
CIE-LABlab(13.32, -1.77, -15.07)
CIE-LCHlch(13.32, 15.18, 263.28°)
OKLaboklab(25.18% -0.0197 -0.0426)
OKLCHoklch(25.18% 0.047 245.2)
XYZxyz(1.4718, 1.6156, 3.8480)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2437 #371F0C
analogous
#0C3734 #0C2437 #0C0E37
triadic
#0C2437 #370C24 #24370C
tetradic
#0C2437 #340C37 #371F0C #0E370C
square
#0C2437 #340C37 #371F0C #0E370C
split-complementary
#0C2437 #370C0E #37340C
monochromatic
#051019 #051019 #0C2437 #174569 #22669B

Accessibility & contrast

On white

15.87
#0C2437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0C2437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2437
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2437#FFFFFF#000000##FFFFFF
##0C24371.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2538
Deuteranopia (green-blind)
#162037
Tritanopia (blue-blind)
#00292B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c2437;
/* rgb */ color: rgb(12, 36, 55);
/* oklch */ color: oklch(25.2% 0.047 245.2);
Tailwind
colors: {
  custom: {
    50: '#515e6e',
    500: '#0c2437',
    950: '#000000',
  },
}
SCSS
$custom: #0c2437;
$custom-light: #515e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2437",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 55
  },
  "hsl": {
    "h": 206.512,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25178,
    "c": 0.0469,
    "h": 245.2
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#0C2437
secondary
#734B2C
accent
#8A41E7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #0C2437

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

Preview Lab → · Contrast checker → · Palette generator →

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