#0C2D57#0C2D57

#0C2D57 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.9% C 0.085 H 256.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#0C2D57
RGBrgb(12, 45, 87)
HSLhsl(214, 76%, 19%)
HSVhsv(214, 86%, 34%)
CMYKcmyk(86.2%, 48.3%, 0%, 65.9%)
CIE-LABlab(18.55, 5.67, -28.75)
CIE-LCHlch(18.55, 29.30, 281.16°)
OKLaboklab(29.94% -0.0201 -0.0824)
OKLCHoklch(29.94% 0.085 256.3)
XYZxyz(2.8097, 2.6427, 9.3770)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D57 #57360C
analogous
#0C5357 #0C2D57 #110C57
triadic
#0C2D57 #570C2D #2D570C
tetradic
#0C2D57 #570C53 #57360C #0C5711
square
#0C2D57 #570C53 #57360C #0C5711
split-complementary
#0C2D57 #57110C #53570C
monochromatic
#040E1B #051121 #0C2D57 #13498D #1B65C3

Accessibility & contrast

On white

13.74
#0C2D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C2D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D57
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D57#FFFFFF#000000##FFFFFF
##0C2D571.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173159
Deuteranopia (green-blind)
#072A56
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c2d57;
/* rgb */ color: rgb(12, 45, 87);
/* oklch */ color: oklch(29.9% 0.085 256.3);
Tailwind
colors: {
  custom: {
    50: '#596587',
    500: '#0c2d57',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d57;
$custom-light: #596587;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d57",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 213.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29941,
    "c": 0.08485,
    "h": 256.3
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#0C2D57
secondary
#92652D
accent
#9F35F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0C2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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