#0C2134#0C2134

#0C2134 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.1% C 0.045 H 248.1°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#0C2134
RGBrgb(12, 33, 52)
HSLhsl(209, 63%, 13%)
HSVhsv(209, 77%, 20%)
CMYKcmyk(76.9%, 36.5%, 0%, 79.6%)
CIE-LABlab(12.05, -0.86, -14.94)
CIE-LCHlch(12.05, 14.96, 266.69°)
OKLaboklab(24.11% -0.0169 -0.0422)
OKLCHoklch(24.11% 0.045 248.1)
XYZxyz(1.3151, 1.4137, 3.4517)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2134 #341F0C
analogous
#0C3433 #0C2134 #0C0D34
triadic
#0C2134 #340C21 #21340C
tetradic
#0C2134 #330C34 #341F0C #0D340C
square
#0C2134 #330C34 #341F0C #0D340C
split-complementary
#0C2134 #340C0D #34330C
monochromatic
#061019 #061019 #0C2134 #174166 #236097

Accessibility & contrast

On white

16.37
#0C2134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0C2134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2134
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2134#FFFFFF#000000##FFFFFF
##0C21341.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192235
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c2134;
/* rgb */ color: rgb(12, 33, 52);
/* oklch */ color: oklch(24.1% 0.045 248.1);
Tailwind
colors: {
  custom: {
    50: '#505b6b',
    500: '#0c2134',
    950: '#000000',
  },
}
SCSS
$custom: #0c2134;
$custom-light: #505b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2134",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 208.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24114,
    "c": 0.04549,
    "h": 248.1
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#0C2134
secondary
#704C2C
accent
#9042E6
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C2134

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

Preview Lab → · Contrast checker → · Palette generator →

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