#0C2641#0C2641

#0C2641 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.4% C 0.060 H 251.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#0C2641
RGBrgb(12, 38, 65)
HSLhsl(211, 69%, 15%)
HSVhsv(211, 82%, 25%)
CMYKcmyk(81.5%, 41.5%, 0%, 74.5%)
CIE-LABlab(14.66, 1.10, -19.99)
CIE-LCHlch(14.66, 20.02, 273.15°)
OKLaboklab(26.42% -0.0187 -0.0569)
OKLCHoklch(26.42% 0.06 251.8)
XYZxyz(1.7985, 1.8458, 5.2615)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2641 #41270C
analogous
#0C4041 #0C2641 #0C0C41
triadic
#0C2641 #410C26 #26410C
tetradic
#0C2641 #410C40 #41270C #0C410C
square
#0C2641 #410C40 #41270C #0C410C
split-complementary
#0C2641 #410C0C #40410C
monochromatic
#050F1A #050F1A #0C2641 #164475 #1F62A8

Accessibility & contrast

On white

15.34
#0C2641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C2641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2641
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2641#FFFFFF#000000##FFFFFF
##0C26411.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2842
Deuteranopia (green-blind)
#122340
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2641;
/* rgb */ color: rgb(12, 38, 65);
/* oklch */ color: oklch(26.4% 0.060 251.8);
Tailwind
colors: {
  custom: {
    50: '#535f76',
    500: '#0c2641',
    950: '#000000',
  },
}
SCSS
$custom: #0c2641;
$custom-light: #535f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2641",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 210.566,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26425,
    "c": 0.05986,
    "h": 251.8
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#0C2641
secondary
#7D552C
accent
#963CEC
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C2641

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

Preview Lab → · Contrast checker → · Palette generator →

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