#0C2849#0C2849

#0C2849 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.070 H 254.6°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#0C2849
RGBrgb(12, 40, 73)
HSLhsl(212, 72%, 17%)
HSVhsv(212, 84%, 29%)
CMYKcmyk(83.6%, 45.2%, 0%, 71.4%)
CIE-LABlab(15.88, 3.15, -23.56)
CIE-LCHlch(15.88, 23.77, 277.62°)
OKLaboklab(27.56% -0.0185 -0.0673)
OKLCHoklch(27.56% 0.07 254.6)
XYZxyz(2.1126, 2.0765, 6.5915)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2849 #492D0C
analogous
#0C4749 #0C2849 #0F0C49
triadic
#0C2849 #490C28 #28490C
tetradic
#0C2849 #490C47 #492D0C #0C490F
square
#0C2849 #490C47 #492D0C #0C490F
split-complementary
#0C2849 #490F0C #47490C
monochromatic
#040E1A #040E1A #0C2849 #15457E #1D62B2

Accessibility & contrast

On white

14.84
#0C2849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2849
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2849#FFFFFF#000000##FFFFFF
##0C28491.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4A
Deuteranopia (green-blind)
#0E2548
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2849;
/* rgb */ color: rgb(12, 40, 73);
/* oklch */ color: oklch(27.6% 0.070 254.6);
Tailwind
colors: {
  custom: {
    50: '#55617c',
    500: '#0c2849',
    950: '#000000',
  },
}
SCSS
$custom: #0c2849;
$custom-light: #55617c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2849",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 73
  },
  "hsl": {
    "h": 212.459,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27555,
    "c": 0.06981,
    "h": 254.6
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#0C2849
secondary
#855C2C
accent
#9B39EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2849

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

Preview Lab → · Contrast checker → · Palette generator →

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