#0C2D49#0C2D49

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

Color values

HEX#0C2D49
RGBrgb(12, 45, 73)
HSLhsl(208, 72%, 17%)
HSVhsv(208, 84%, 29%)
CMYKcmyk(83.6%, 38.4%, 0%, 71.4%)
CIE-LABlab(17.63, -0.48, -20.79)
CIE-LCHlch(17.63, 20.80, 268.68°)
OKLaboklab(28.92% -0.024 -0.0591)
OKLCHoklch(28.92% 0.064 247.9)
XYZxyz(2.2921, 2.4357, 6.6514)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D49 #49280C
analogous
#0C4947 #0C2D49 #0C0F49
triadic
#0C2D49 #490C2D #2D490C
tetradic
#0C2D49 #470C49 #49280C #0F490C
square
#0C2D49 #470C49 #49280C #0F490C
split-complementary
#0C2D49 #490C0F #49470C
monochromatic
#04101A #04101A #0C2D49 #154D7E #1D6EB2

Accessibility & contrast

On white

14.12
#0C2D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D49
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D49#FFFFFF#000000##FFFFFF
##0C2D491.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202E4A
Deuteranopia (green-blind)
#172948
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2d49;
/* rgb */ color: rgb(12, 45, 73);
/* oklch */ color: oklch(28.9% 0.064 247.9);
Tailwind
colors: {
  custom: {
    50: '#55657c',
    500: '#0c2d49',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d49;
$custom-light: #55657c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d49",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 73
  },
  "hsl": {
    "h": 207.541,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28917,
    "c": 0.06378,
    "h": 247.9
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#0C2D49
secondary
#85552C
accent
#8C39EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2D49

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

Preview Lab → · Contrast checker → · Palette generator →

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