#0C2640#0C2640

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

Color values

HEX#0C2640
RGBrgb(12, 38, 64)
HSLhsl(210, 68%, 15%)
HSVhsv(210, 81%, 25%)
CMYKcmyk(81.2%, 40.6%, 0%, 74.9%)
CIE-LABlab(14.59, 0.66, -19.40)
CIE-LCHlch(14.59, 19.41, 271.95°)
OKLaboklab(26.35% -0.019 -0.0551)
OKLCHoklch(26.35% 0.058 251)
XYZxyz(1.7698, 1.8344, 5.1103)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2640 #40260C
analogous
#0C4040 #0C2640 #0C0C40
triadic
#0C2640 #400C26 #26400C
tetradic
#0C2640 #400C40 #40260C #0C400C
square
#0C2640 #400C40 #40260C #0C400C
split-complementary
#0C2640 #400C0C #40400C
monochromatic
#050F1A #050F1A #0C2640 #164574 #1F63A7

Accessibility & contrast

On white

15.36
#0C2640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2640
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2640#FFFFFF#000000##FFFFFF
##0C26401.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2741
Deuteranopia (green-blind)
#13233F
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2640;
/* rgb */ color: rgb(12, 38, 64);
/* oklch */ color: oklch(26.4% 0.058 251.0);
Tailwind
colors: {
  custom: {
    50: '#535f75',
    500: '#0c2640',
    950: '#000000',
  },
}
SCSS
$custom: #0c2640;
$custom-light: #535f75;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2640",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26354,
    "c": 0.05831,
    "h": 251
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#0C2640
secondary
#7C542C
accent
#943DEB
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C2640

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

Preview Lab → · Contrast checker → · Palette generator →

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