#0C2740#0C2740

#0C2740 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.057 H 249.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#0C2740
RGBrgb(12, 39, 64)
HSLhsl(209, 68%, 15%)
HSVhsv(209, 81%, 25%)
CMYKcmyk(81.2%, 39.1%, 0%, 74.9%)
CIE-LABlab(14.95, -0.07, -18.83)
CIE-LCHlch(14.95, 18.83, 269.78°)
OKLaboklab(26.63% -0.0201 -0.0535)
OKLCHoklch(26.63% 0.057 249.4)
XYZxyz(1.8022, 1.8992, 5.1211)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2740 #40250C
analogous
#0C403F #0C2740 #0C0D40
triadic
#0C2740 #400C27 #27400C
tetradic
#0C2740 #3F0C40 #40250C #0D400C
square
#0C2740 #3F0C40 #40250C #0D400C
split-complementary
#0C2740 #400C0D #403F0C
monochromatic
#05101A #05101A #0C2740 #164674 #1F66A7

Accessibility & contrast

On white

15.22
#0C2740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2740
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2740#FFFFFF#000000##FFFFFF
##0C27401.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2740;
/* rgb */ color: rgb(12, 39, 64);
/* oklch */ color: oklch(26.6% 0.057 249.4);
Tailwind
colors: {
  custom: {
    50: '#536075',
    500: '#0c2740',
    950: '#000000',
  },
}
SCSS
$custom: #0c2740;
$custom-light: #536075;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2740",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 208.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26633,
    "c": 0.05714,
    "h": 249.4
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#0C2740
secondary
#7C522C
accent
#913DEB
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2740

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

Preview Lab → · Contrast checker → · Palette generator →

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