#0C2842#0C2842

#0C2842 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.059 H 249.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#0C2842
RGBrgb(12, 40, 66)
HSLhsl(209, 69%, 15%)
HSVhsv(209, 82%, 26%)
CMYKcmyk(81.8%, 39.4%, 0%, 74.1%)
CIE-LABlab(15.43, 0.07, -19.46)
CIE-LCHlch(15.43, 19.46, 270.21°)
OKLaboklab(27.05% -0.0206 -0.0553)
OKLCHoklch(27.05% 0.059 249.5)
XYZxyz(1.8934, 1.9889, 5.4373)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2842 #42260C
analogous
#0C4241 #0C2842 #0C0D42
triadic
#0C2842 #420C28 #28420C
tetradic
#0C2842 #410C42 #42260C #0D420C
square
#0C2842 #410C42 #42260C #0D420C
split-complementary
#0C2842 #420C0D #42410C
monochromatic
#05101A #05101A #0C2842 #154776 #1F67AA

Accessibility & contrast

On white

15.02
#0C2842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2842
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2842#FFFFFF#000000##FFFFFF
##0C28421.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#142441
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2842;
/* rgb */ color: rgb(12, 40, 66);
/* oklch */ color: oklch(27.1% 0.059 249.5);
Tailwind
colors: {
  custom: {
    50: '#536176',
    500: '#0c2842',
    950: '#000000',
  },
}
SCSS
$custom: #0c2842;
$custom-light: #536176;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2842",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 208.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27051,
    "c": 0.05902,
    "h": 249.5
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#0C2842
secondary
#7E532C
accent
#913CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2842

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

Preview Lab → · Contrast checker → · Palette generator →

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