#0C2D41#0C2D41

#0C2D41 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.053 H 239.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#0C2D41
RGBrgb(12, 45, 65)
HSLhsl(203, 69%, 15%)
HSVhsv(203, 82%, 25%)
CMYKcmyk(81.5%, 30.8%, 0%, 74.5%)
CIE-LABlab(17.16, -3.90, -16.05)
CIE-LCHlch(17.16, 16.51, 256.34°)
OKLaboklab(28.4% -0.0269 -0.0453)
OKLCHoklch(28.4% 0.053 239.3)
XYZxyz(2.0438, 2.3364, 5.3433)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D41 #41200C
analogous
#0C413B #0C2D41 #0C1241
triadic
#0C2D41 #410C2D #2D410C
tetradic
#0C2D41 #3B0C41 #41200C #12410C
square
#0C2D41 #3B0C41 #41200C #12410C
split-complementary
#0C2D41 #410C12 #413B0C
monochromatic
#05121A #05121A #0C2D41 #165175 #1F75A8

Accessibility & contrast

On white

14.31
#0C2D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D41
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D41#FFFFFF#000000##FFFFFF
##0C2D411.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D42
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d41;
/* rgb */ color: rgb(12, 45, 65);
/* oklch */ color: oklch(28.4% 0.053 239.3);
Tailwind
colors: {
  custom: {
    50: '#536575',
    500: '#0c2d41',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d41;
$custom-light: #536575;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d41",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 65
  },
  "hsl": {
    "h": 202.642,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28399,
    "c": 0.05266,
    "h": 239.3
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#0C2D41
secondary
#7D4A2C
accent
#7E3CEC
background
#F5F6F7
surface
#E8EBED
border
#C4C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D41

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

Preview Lab → · Contrast checker → · Palette generator →

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