#0C2947#0C2947

#0C2947 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.065 H 252.0°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#0C2947
RGBrgb(12, 41, 71)
HSLhsl(211, 71%, 16%)
HSVhsv(211, 83%, 28%)
CMYKcmyk(83.1%, 42.3%, 0%, 72.2%)
CIE-LABlab(16.10, 1.53, -21.85)
CIE-LCHlch(16.10, 21.90, 274.02°)
OKLaboklab(27.68% -0.0202 -0.0622)
OKLCHoklch(27.68% 0.065 252)
XYZxyz(2.0815, 2.1187, 6.2593)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2947 #472A0C
analogous
#0C4747 #0C2947 #0D0C47
triadic
#0C2947 #470C29 #29470C
tetradic
#0C2947 #470C47 #472A0C #0C470D
square
#0C2947 #470C47 #472A0C #0C470D
split-complementary
#0C2947 #470D0C #47470C
monochromatic
#040F1A #040F1A #0C2947 #15477B #1E65B0

Accessibility & contrast

On white

14.75
#0C2947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2947
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2947#FFFFFF#000000##FFFFFF
##0C29471.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B48
Deuteranopia (green-blind)
#122546
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2947;
/* rgb */ color: rgb(12, 41, 71);
/* oklch */ color: oklch(27.7% 0.065 252.0);
Tailwind
colors: {
  custom: {
    50: '#55627a',
    500: '#0c2947',
    950: '#000000',
  },
}
SCSS
$custom: #0c2947;
$custom-light: #55627a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2947",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 210.508,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27679,
    "c": 0.06544,
    "h": 252
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#0C2947
secondary
#83582C
accent
#953AEE
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2947

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

Preview Lab → · Contrast checker → · Palette generator →

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