#0C2B50#0C2B50

#0C2B50 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.077 H 255.0°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#0C2B50
RGBrgb(12, 43, 80)
HSLhsl(213, 74%, 18%)
HSVhsv(213, 85%, 31%)
CMYKcmyk(85%, 46.2%, 0%, 68.6%)
CIE-LABlab(17.39, 4.04, -25.91)
CIE-LCHlch(17.39, 26.23, 278.86°)
OKLaboklab(28.88% -0.0198 -0.0741)
OKLCHoklch(28.88% 0.077 255)
XYZxyz(2.4629, 2.3848, 7.9184)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B50 #50310C
analogous
#0C4D50 #0C2B50 #0F0C50
triadic
#0C2B50 #500C2B #2B500C
tetradic
#0C2B50 #500C4D #50310C #0C500F
square
#0C2B50 #500C4D #50310C #0C500F
split-complementary
#0C2B50 #500F0C #4D500C
monochromatic
#040E1B #040E1B #0C2B50 #144885 #1C64BA

Accessibility & contrast

On white

14.22
#0C2B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B50
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B50#FFFFFF#000000##FFFFFF
##0C2B501.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E51
Deuteranopia (green-blind)
#0D284F
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2b50;
/* rgb */ color: rgb(12, 43, 80);
/* oklch */ color: oklch(28.9% 0.077 255.0);
Tailwind
colors: {
  custom: {
    50: '#576381',
    500: '#0c2b50',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b50;
$custom-light: #576381;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b50",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 80
  },
  "hsl": {
    "h": 212.647,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28881,
    "c": 0.07675,
    "h": 255
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#0C2B50
secondary
#8B602C
accent
#9C37F1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0C2B50

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

Preview Lab → · Contrast checker → · Palette generator →

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