#0C2C55#0C2C55

#0C2C55 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.5% C 0.083 H 256.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#0C2C55
RGBrgb(12, 44, 85)
HSLhsl(214, 75%, 19%)
HSVhsv(214, 86%, 33%)
CMYKcmyk(85.9%, 48.2%, 0%, 66.7%)
CIE-LABlab(18.08, 5.52, -28.17)
CIE-LCHlch(18.08, 28.71, 281.08°)
OKLaboklab(29.53% -0.0196 -0.0808)
OKLCHoklch(29.53% 0.083 256.4)
XYZxyz(2.6914, 2.5351, 8.9400)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C55 #55350C
analogous
#0C5155 #0C2C55 #110C55
triadic
#0C2C55 #550C2C #2C550C
tetradic
#0C2C55 #550C51 #55350C #0C5511
square
#0C2C55 #550C51 #55350C #0C5511
split-complementary
#0C2C55 #55110C #51550C
monochromatic
#040E1B #04101F #0C2C55 #14488B #1B64C0

Accessibility & contrast

On white

13.93
#0C2C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C2C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C55
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C55#FFFFFF#000000##FFFFFF
##0C2C551.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173057
Deuteranopia (green-blind)
#082954
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2c55;
/* rgb */ color: rgb(12, 44, 85);
/* oklch */ color: oklch(29.5% 0.083 256.4);
Tailwind
colors: {
  custom: {
    50: '#586485',
    500: '#0c2c55',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c55;
$custom-light: #586485;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c55",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 213.699,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29527,
    "c": 0.08313,
    "h": 256.4
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#0C2C55
secondary
#90652D
accent
#9F36F2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2C55

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

Preview Lab → · Contrast checker → · Palette generator →

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