#0C2C50#0C2C50

#0C2C50 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.075 H 254.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0C2C50
RGBrgb(12, 44, 80)
HSLhsl(212, 74%, 18%)
HSVhsv(212, 85%, 31%)
CMYKcmyk(85%, 45%, 0%, 68.6%)
CIE-LABlab(17.73, 3.31, -25.37)
CIE-LCHlch(17.73, 25.58, 277.42°)
OKLaboklab(29.15% -0.0208 -0.0725)
OKLCHoklch(29.15% 0.075 254)
XYZxyz(2.4997, 2.4584, 7.9306)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C50 #50300C
analogous
#0C4E50 #0C2C50 #0E0C50
triadic
#0C2C50 #500C2C #2C500C
tetradic
#0C2C50 #500C4E #50300C #0C500E
square
#0C2C50 #500C4E #50300C #0C500E
split-complementary
#0C2C50 #500E0C #4E500C
monochromatic
#040F1B #040F1B #0C2C50 #144985 #1C67BA

Accessibility & contrast

On white

14.08
#0C2C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C50
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C50#FFFFFF#000000##FFFFFF
##0C2C501.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F51
Deuteranopia (green-blind)
#0F294F
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2c50;
/* rgb */ color: rgb(12, 44, 80);
/* oklch */ color: oklch(29.1% 0.075 254.0);
Tailwind
colors: {
  custom: {
    50: '#576481',
    500: '#0c2c50',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c50;
$custom-light: #576481;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c50",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 80
  },
  "hsl": {
    "h": 211.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29145,
    "c": 0.07546,
    "h": 254
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#0C2C50
secondary
#8B5F2C
accent
#9937F1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0C2C50

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

Preview Lab → · Contrast checker → · Palette generator →

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