#0C2D42#0C2D42

#0C2D42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.054 H 240.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#0C2D42
RGBrgb(12, 45, 66)
HSLhsl(203, 69%, 15%)
HSVhsv(203, 82%, 26%)
CMYKcmyk(81.8%, 31.8%, 0%, 74.1%)
CIE-LABlab(17.22, -3.48, -16.65)
CIE-LCHlch(17.22, 17.01, 258.20°)
OKLaboklab(28.46% -0.0265 -0.047)
OKLCHoklch(28.46% 0.054 240.6)
XYZxyz(2.0730, 2.3480, 5.4972)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D42 #42210C
analogous
#0C423C #0C2D42 #0C1242
triadic
#0C2D42 #420C2D #2D420C
tetradic
#0C2D42 #3C0C42 #42210C #12420C
square
#0C2D42 #3C0C42 #42210C #12420C
split-complementary
#0C2D42 #420C12 #423C0C
monochromatic
#05121A #05121A #0C2D42 #155076 #1F74AA

Accessibility & contrast

On white

14.29
#0C2D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D42
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D42#FFFFFF#000000##FFFFFF
##0C2D421.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#1C2842
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d42;
/* rgb */ color: rgb(12, 45, 66);
/* oklch */ color: oklch(28.5% 0.054 240.6);
Tailwind
colors: {
  custom: {
    50: '#536576',
    500: '#0c2d42',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d42;
$custom-light: #536576;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d42",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 203.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28461,
    "c": 0.05397,
    "h": 240.6
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#0C2D42
secondary
#7E4C2C
accent
#803CEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D42

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

Preview Lab → · Contrast checker → · Palette generator →

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