#0C2E37#0C2E37

#0C2E37 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.1% C 0.042 H 218.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0C2E37
RGBrgb(12, 46, 55)
HSLhsl(193, 64%, 13%)
HSVhsv(193, 78%, 22%)
CMYKcmyk(78.2%, 16.4%, 0%, 78.4%)
CIE-LABlab(17.03, -8.64, -9.34)
CIE-LCHlch(17.03, 12.72, 227.23°)
OKLaboklab(28.13% -0.0326 -0.026)
OKLCHoklch(28.13% 0.042 218.6)
XYZxyz(1.8179, 2.3078, 3.9633)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E37 #37150C
analogous
#0C372A #0C2E37 #0C1837
triadic
#0C2E37 #370C2E #2E370C
tetradic
#0C2E37 #2A0C37 #37150C #18370C
square
#0C2E37 #2A0C37 #37150C #18370C
split-complementary
#0C2E37 #370C18 #372A0C
monochromatic
#051519 #051519 #0C2E37 #175869 #22829B

Accessibility & contrast

On white

14.37
#0C2E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E37
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E37#FFFFFF#000000##FFFFFF
##0C2E371.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C37
Deuteranopia (green-blind)
#222837
Tritanopia (blue-blind)
#003131
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2e37;
/* rgb */ color: rgb(12, 46, 55);
/* oklch */ color: oklch(28.1% 0.042 218.6);
Tailwind
colors: {
  custom: {
    50: '#51666d',
    500: '#0c2e37',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e37;
$custom-light: #51666d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e37",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 55
  },
  "hsl": {
    "h": 192.558,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.28125,
    "c": 0.04169,
    "h": 218.6
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#0C2E37
secondary
#733B2C
accent
#6341E7
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2E37

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

Preview Lab → · Contrast checker → · Palette generator →

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