#0C2E39#0C2E39

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

Color values

HEX#0C2E39
RGBrgb(12, 46, 57)
HSLhsl(195, 65%, 14%)
HSVhsv(195, 79%, 22%)
CMYKcmyk(78.9%, 19.3%, 0%, 77.6%)
CIE-LABlab(17.12, -7.85, -10.59)
CIE-LCHlch(17.12, 13.18, 233.43°)
OKLaboklab(28.23% -0.0316 -0.0296)
OKLCHoklch(28.23% 0.043 223.1)
XYZxyz(1.8668, 2.3274, 4.2209)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E39 #39170C
analogous
#0C392D #0C2E39 #0C1739
triadic
#0C2E39 #390C2E #2E390C
tetradic
#0C2E39 #2D0C39 #39170C #17390C
square
#0C2E39 #2D0C39 #39170C #17390C
split-complementary
#0C2E39 #390C17 #392D0C
monochromatic
#051419 #051419 #0C2E39 #17576C #21809E

Accessibility & contrast

On white

14.33
#0C2E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E39
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E39#FFFFFF#000000##FFFFFF
##0C2E391.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3A
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#003132
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2e39;
/* rgb */ color: rgb(12, 46, 57);
/* oklch */ color: oklch(28.2% 0.043 223.1);
Tailwind
colors: {
  custom: {
    50: '#52666f',
    500: '#0c2e39',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e39;
$custom-light: #52666f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e39",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 57
  },
  "hsl": {
    "h": 194.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2823,
    "c": 0.04328,
    "h": 223.1
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#0C2E39
secondary
#753E2C
accent
#6940E8
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2E39

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

Preview Lab → · Contrast checker → · Palette generator →

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