#0C2C49#0C2C49

#0C2C49 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.065 H 249.4°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0C2C49
RGBrgb(12, 44, 73)
HSLhsl(209, 72%, 17%)
HSVhsv(209, 84%, 29%)
CMYKcmyk(83.6%, 39.7%, 0%, 71.4%)
CIE-LABlab(17.27, 0.23, -21.35)
CIE-LCHlch(17.27, 21.35, 270.63°)
OKLaboklab(28.64% -0.0229 -0.0607)
OKLCHoklch(28.64% 0.065 249.4)
XYZxyz(2.2544, 2.3603, 6.6388)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C49 #49290C
analogous
#0C4948 #0C2C49 #0C0D49
triadic
#0C2C49 #490C2C #2C490C
tetradic
#0C2C49 #480C49 #49290C #0D490C
square
#0C2C49 #480C49 #49290C #0D490C
split-complementary
#0C2C49 #490C0D #49480C
monochromatic
#04101A #04101A #0C2C49 #154C7E #1D6BB2

Accessibility & contrast

On white

14.26
#0C2C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C49
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C49#FFFFFF#000000##FFFFFF
##0C2C491.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E4A
Deuteranopia (green-blind)
#162848
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2c49;
/* rgb */ color: rgb(12, 44, 73);
/* oklch */ color: oklch(28.6% 0.065 249.4);
Tailwind
colors: {
  custom: {
    50: '#55647c',
    500: '#0c2c49',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c49;
$custom-light: #55647c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c49",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 73
  },
  "hsl": {
    "h": 208.525,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28642,
    "c": 0.0649,
    "h": 249.4
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#0C2C49
secondary
#85562C
accent
#8F39EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2C49

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

Preview Lab → · Contrast checker → · Palette generator →

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