#0C2B56#0C2B56

#0C2B56 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.086 H 257.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#0C2B56
RGBrgb(12, 43, 86)
HSLhsl(215, 76%, 19%)
HSVhsv(215, 86%, 34%)
CMYKcmyk(86%, 50%, 0%, 66.3%)
CIE-LABlab(17.82, 6.70, -29.26)
CIE-LCHlch(17.82, 30.02, 282.89°)
OKLaboklab(29.35% -0.0185 -0.084)
OKLCHoklch(29.35% 0.086 257.6)
XYZxyz(2.6946, 2.4775, 9.1385)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B56 #56370C
analogous
#0C5056 #0C2B56 #120C56
triadic
#0C2B56 #560C2B #2B560C
tetradic
#0C2B56 #560C50 #56370C #0C5612
square
#0C2B56 #560C50 #56370C #0C5612
split-complementary
#0C2B56 #56120C #50560C
monochromatic
#040D1B #051020 #0C2B56 #13468C #1B61C1

Accessibility & contrast

On white

14.04
#0C2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C2B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B56
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B56#FFFFFF#000000##FFFFFF
##0C2B561.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F58
Deuteranopia (green-blind)
#032855
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2b56;
/* rgb */ color: rgb(12, 43, 86);
/* oklch */ color: oklch(29.3% 0.086 257.6);
Tailwind
colors: {
  custom: {
    50: '#596386',
    500: '#0c2b56',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b56;
$custom-light: #596386;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b56",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 214.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29349,
    "c": 0.086,
    "h": 257.6
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#0C2B56
secondary
#91672D
accent
#A336F2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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