#0C2D55#0C2D55

#0C2D55 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.8% C 0.082 H 255.4°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#0C2D55
RGBrgb(12, 45, 85)
HSLhsl(213, 75%, 19%)
HSVhsv(213, 86%, 33%)
CMYKcmyk(85.9%, 47.1%, 0%, 66.7%)
CIE-LABlab(18.41, 4.78, -27.64)
CIE-LCHlch(18.41, 28.05, 279.82°)
OKLaboklab(29.79% -0.0206 -0.0792)
OKLCHoklch(29.79% 0.082 255.4)
XYZxyz(2.7291, 2.6105, 8.9526)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D55 #55340C
analogous
#0C5255 #0C2D55 #100C55
triadic
#0C2D55 #550C2D #2D550C
tetradic
#0C2D55 #550C52 #55340C #0C5510
square
#0C2D55 #550C52 #55340C #0C5510
split-complementary
#0C2D55 #55100C #52550C
monochromatic
#040E1B #04111F #0C2D55 #14498B #1B66C0

Accessibility & contrast

On white

13.80
#0C2D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C2D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D55
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D55#FFFFFF#000000##FFFFFF
##0C2D551.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193057
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c2d55;
/* rgb */ color: rgb(12, 45, 85);
/* oklch */ color: oklch(29.8% 0.082 255.4);
Tailwind
colors: {
  custom: {
    50: '#586585',
    500: '#0c2d55',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d55;
$custom-light: #586585;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d55",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 212.877,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29786,
    "c": 0.08181,
    "h": 255.4
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#0C2D55
secondary
#90632D
accent
#9D36F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0C2D55

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

Preview Lab → · Contrast checker → · Palette generator →

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