#0C2E38#0C2E38

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

Color values

HEX#0C2E38
RGBrgb(12, 46, 56)
HSLhsl(194, 65%, 13%)
HSVhsv(194, 79%, 22%)
CMYKcmyk(78.6%, 17.9%, 0%, 78%)
CIE-LABlab(17.07, -8.25, -9.96)
CIE-LCHlch(17.07, 12.93, 230.39°)
OKLaboklab(28.18% -0.0321 -0.0278)
OKLCHoklch(28.18% 0.042 220.9)
XYZxyz(1.8421, 2.3175, 4.0908)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E38 #38160C
analogous
#0C382C #0C2E38 #0C1838
triadic
#0C2E38 #380C2E #2E380C
tetradic
#0C2E38 #2C0C38 #38160C #18380C
square
#0C2E38 #2C0C38 #38160C #18380C
split-complementary
#0C2E38 #380C18 #382C0C
monochromatic
#051519 #051519 #0C2E38 #17576A #22819D

Accessibility & contrast

On white

14.35
#0C2E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2E38
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E38#FFFFFF#000000##FFFFFF
##0C2E381.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2e38;
/* rgb */ color: rgb(12, 46, 56);
/* oklch */ color: oklch(28.2% 0.042 220.9);
Tailwind
colors: {
  custom: {
    50: '#52666e',
    500: '#0c2e38',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e38;
$custom-light: #52666e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e38",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 56
  },
  "hsl": {
    "h": 193.636,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.04246,
    "h": 220.9
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#0C2E38
secondary
#743C2C
accent
#6640E8
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2E38

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

Preview Lab → · Contrast checker → · Palette generator →

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