#0C2741#0C2741

#0C2741 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.059 H 250.3°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#0C2741
RGBrgb(12, 39, 65)
HSLhsl(209, 69%, 15%)
HSVhsv(209, 82%, 25%)
CMYKcmyk(81.5%, 40%, 0%, 74.5%)
CIE-LABlab(15.01, 0.36, -19.43)
CIE-LCHlch(15.01, 19.43, 271.07°)
OKLaboklab(26.7% -0.0198 -0.0552)
OKLCHoklch(26.7% 0.059 250.3)
XYZxyz(1.8309, 1.9107, 5.2723)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2741 #41260C
analogous
#0C4140 #0C2741 #0C0C41
triadic
#0C2741 #410C27 #27410C
tetradic
#0C2741 #400C41 #41260C #0C410C
square
#0C2741 #400C41 #41260C #0C410C
split-complementary
#0C2741 #410C0C #41400C
monochromatic
#050F1A #050F1A #0C2741 #164675 #1F65A8

Accessibility & contrast

On white

15.19
#0C2741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2741
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2741#FFFFFF#000000##FFFFFF
##0C27411.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2842
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2741;
/* rgb */ color: rgb(12, 39, 65);
/* oklch */ color: oklch(26.7% 0.059 250.3);
Tailwind
colors: {
  custom: {
    50: '#536075',
    500: '#0c2741',
    950: '#000000',
  },
}
SCSS
$custom: #0c2741;
$custom-light: #536075;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2741",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 65
  },
  "hsl": {
    "h": 209.434,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.05867,
    "h": 250.3
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#0C2741
secondary
#7D542C
accent
#923CEC
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2741

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

Preview Lab → · Contrast checker → · Palette generator →

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