#0C2B39#0C2B39

#0C2B39 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.044 H 231.1°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0C2B39
RGBrgb(12, 43, 57)
HSLhsl(199, 65%, 14%)
HSVhsv(199, 79%, 22%)
CMYKcmyk(78.9%, 24.6%, 0%, 77.6%)
CIE-LABlab(16.01, -5.85, -12.30)
CIE-LCHlch(16.01, 13.62, 244.57°)
OKLaboklab(27.34% -0.0278 -0.0345)
OKLCHoklch(27.34% 0.044 231.1)
XYZxyz(1.7537, 2.1011, 4.1832)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B39 #391A0C
analogous
#0C3930 #0C2B39 #0C1439
triadic
#0C2B39 #390C2B #2B390C
tetradic
#0C2B39 #300C39 #391A0C #14390C
square
#0C2B39 #300C39 #391A0C #14390C
split-complementary
#0C2B39 #390C14 #39300C
monochromatic
#051319 #051319 #0C2B39 #17516C #21779E

Accessibility & contrast

On white

14.79
#0C2B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B39
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B39#FFFFFF#000000##FFFFFF
##0C2B391.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A3A
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#002F30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2b39;
/* rgb */ color: rgb(12, 43, 57);
/* oklch */ color: oklch(27.3% 0.044 231.1);
Tailwind
colors: {
  custom: {
    50: '#51646f',
    500: '#0c2b39',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b39;
$custom-light: #51646f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b39",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 57
  },
  "hsl": {
    "h": 198.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27343,
    "c": 0.04429,
    "h": 231.1
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#0C2B39
secondary
#75432C
accent
#7440E8
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2B39

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

Preview Lab → · Contrast checker → · Palette generator →

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