#0C2841#0C2841

#0C2841 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.058 H 248.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#0C2841
RGBrgb(12, 40, 65)
HSLhsl(208, 69%, 15%)
HSVhsv(208, 82%, 25%)
CMYKcmyk(81.5%, 38.5%, 0%, 74.5%)
CIE-LABlab(15.37, -0.36, -18.87)
CIE-LCHlch(15.37, 18.87, 268.90°)
OKLaboklab(26.98% -0.021 -0.0535)
OKLCHoklch(26.98% 0.058 248.6)
XYZxyz(1.8642, 1.9772, 5.2834)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2841 #41250C
analogous
#0C413F #0C2841 #0C0D41
triadic
#0C2841 #410C28 #28410C
tetradic
#0C2841 #3F0C41 #41250C #0D410C
square
#0C2841 #3F0C41 #41250C #0D410C
split-complementary
#0C2841 #410C0D #413F0C
monochromatic
#05101A #05101A #0C2841 #164875 #1F68A8

Accessibility & contrast

On white

15.05
#0C2841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2841
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2841#FFFFFF#000000##FFFFFF
##0C28411.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2942
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2841;
/* rgb */ color: rgb(12, 40, 65);
/* oklch */ color: oklch(27.0% 0.058 248.6);
Tailwind
colors: {
  custom: {
    50: '#536175',
    500: '#0c2841',
    950: '#000000',
  },
}
SCSS
$custom: #0c2841;
$custom-light: #536175;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2841",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 208.302,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26982,
    "c": 0.05751,
    "h": 248.6
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#0C2841
secondary
#7D522C
accent
#8F3CEC
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2841

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

Preview Lab → · Contrast checker → · Palette generator →

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