#0C2A42#0C2A42

#0C2A42 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.057 H 246.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0C2A42
RGBrgb(12, 42, 66)
HSLhsl(207, 69%, 15%)
HSVhsv(207, 82%, 26%)
CMYKcmyk(81.8%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.14, -1.37, -18.34)
CIE-LCHlch(16.14, 18.39, 265.74°)
OKLaboklab(27.61% -0.023 -0.052)
OKLCHoklch(27.61% 0.057 246.2)
XYZxyz(1.9626, 2.1272, 5.4604)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A42 #42240C
analogous
#0C423F #0C2A42 #0C0F42
triadic
#0C2A42 #420C2A #2A420C
tetradic
#0C2A42 #3F0C42 #42240C #0F420C
square
#0C2A42 #3F0C42 #42240C #0F420C
split-complementary
#0C2A42 #420C0F #423F0C
monochromatic
#05101A #05101A #0C2A42 #154B76 #1F6CAA

Accessibility & contrast

On white

14.73
#0C2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A42
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A42#FFFFFF#000000##FFFFFF
##0C2A421.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#182642
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2a42;
/* rgb */ color: rgb(12, 42, 66);
/* oklch */ color: oklch(27.6% 0.057 246.2);
Tailwind
colors: {
  custom: {
    50: '#536376',
    500: '#0c2a42',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a42;
$custom-light: #536376;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a42",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 206.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27611,
    "c": 0.05683,
    "h": 246.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#0C2A42
secondary
#7E502C
accent
#8A3CEC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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