#0C2B41#0C2B41

#0C2B41 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.054 H 243.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#0C2B41
RGBrgb(12, 43, 65)
HSLhsl(205, 69%, 15%)
HSVhsv(205, 82%, 25%)
CMYKcmyk(81.5%, 33.8%, 0%, 74.5%)
CIE-LABlab(16.44, -2.50, -17.18)
CIE-LCHlch(16.44, 17.36, 261.71°)
OKLaboklab(27.83% -0.0245 -0.0486)
OKLCHoklch(27.83% 0.054 243.2)
XYZxyz(1.9693, 2.1873, 5.3184)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B41 #41220C
analogous
#0C413D #0C2B41 #0C1041
triadic
#0C2B41 #410C2B #2B410C
tetradic
#0C2B41 #3D0C41 #41220C #10410C
square
#0C2B41 #3D0C41 #41220C #10410C
split-complementary
#0C2B41 #410C10 #413D0C
monochromatic
#05111A #05111A #0C2B41 #164D75 #1F6FA8

Accessibility & contrast

On white

14.61
#0C2B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B41
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B41#FFFFFF#000000##FFFFFF
##0C2B411.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B42
Deuteranopia (green-blind)
#1A2641
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2b41;
/* rgb */ color: rgb(12, 43, 65);
/* oklch */ color: oklch(27.8% 0.054 243.2);
Tailwind
colors: {
  custom: {
    50: '#536475',
    500: '#0c2b41',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b41;
$custom-light: #536475;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b41",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 65
  },
  "hsl": {
    "h": 204.906,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27829,
    "c": 0.05441,
    "h": 243.2
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#0C2B41
secondary
#7D4D2C
accent
#853CEC
background
#F5F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2B41

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

Preview Lab → · Contrast checker → · Palette generator →

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