#0C2E41#0C2E41

#0C2E41 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.052 H 237.2°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#0C2E41
RGBrgb(12, 46, 65)
HSLhsl(202, 69%, 15%)
HSVhsv(202, 82%, 25%)
CMYKcmyk(81.5%, 29.2%, 0%, 74.5%)
CIE-LABlab(17.52, -4.59, -15.48)
CIE-LCHlch(17.52, 16.15, 253.49°)
OKLaboklab(28.69% -0.0281 -0.0436)
OKLCHoklch(28.69% 0.052 237.2)
XYZxyz(2.0824, 2.4136, 5.3561)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E41 #411F0C
analogous
#0C4139 #0C2E41 #0C1441
triadic
#0C2E41 #410C2E #2E410C
tetradic
#0C2E41 #390C41 #411F0C #14410C
square
#0C2E41 #390C41 #411F0C #14410C
split-complementary
#0C2E41 #410C14 #41390C
monochromatic
#05121A #05121A #0C2E41 #165375 #1F77A8

Accessibility & contrast

On white

14.16
#0C2E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E41
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E41#FFFFFF#000000##FFFFFF
##0C2E411.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E42
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2e41;
/* rgb */ color: rgb(12, 46, 65);
/* oklch */ color: oklch(28.7% 0.052 237.2);
Tailwind
colors: {
  custom: {
    50: '#536675',
    500: '#0c2e41',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e41;
$custom-light: #536675;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e41",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 65
  },
  "hsl": {
    "h": 201.509,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.05189,
    "h": 237.2
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#0C2E41
secondary
#7D492C
accent
#7B3CEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2E41

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

Preview Lab → · Contrast checker → · Palette generator →

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