#0C2A47#0C2A47

#0C2A47 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.064 H 250.6°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#0C2A47
RGBrgb(12, 42, 71)
HSLhsl(209, 71%, 16%)
HSVhsv(209, 83%, 28%)
CMYKcmyk(83.1%, 40.8%, 0%, 72.2%)
CIE-LABlab(16.45, 0.80, -21.29)
CIE-LCHlch(16.45, 21.31, 272.16°)
OKLaboklab(27.95% -0.0213 -0.0606)
OKLCHoklch(27.95% 0.064 250.6)
XYZxyz(2.1165, 2.1888, 6.2709)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A47 #47290C
analogous
#0C4747 #0C2A47 #0C0D47
triadic
#0C2A47 #470C2A #2A470C
tetradic
#0C2A47 #470C47 #47290C #0D470C
square
#0C2A47 #470C47 #47290C #0D470C
split-complementary
#0C2A47 #470C0D #47470C
monochromatic
#040F1A #040F1A #0C2A47 #15497B #1E68B0

Accessibility & contrast

On white

14.61
#0C2A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A47
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A47#FFFFFF#000000##FFFFFF
##0C2A471.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#142646
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2a47;
/* rgb */ color: rgb(12, 42, 71);
/* oklch */ color: oklch(28.0% 0.064 250.6);
Tailwind
colors: {
  custom: {
    50: '#55637a',
    500: '#0c2a47',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a47;
$custom-light: #55637a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a47",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 209.492,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27953,
    "c": 0.06424,
    "h": 250.6
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#0C2A47
secondary
#83572C
accent
#923AEE
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2A47

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

Preview Lab → · Contrast checker → · Palette generator →

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