#0C2E47#0C2E47

#0C2E47 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.060 H 244.5°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#0C2E47
RGBrgb(12, 46, 71)
HSLhsl(205, 71%, 16%)
HSVhsv(205, 83%, 28%)
CMYKcmyk(83.1%, 35.2%, 0%, 72.2%)
CIE-LABlab(17.86, -2.05, -19.06)
CIE-LCHlch(17.86, 19.17, 263.87°)
OKLaboklab(29.06% -0.0258 -0.054)
OKLCHoklch(29.06% 0.06 244.5)
XYZxyz(2.2655, 2.4868, 6.3206)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E47 #47250C
analogous
#0C4743 #0C2E47 #0C1147
triadic
#0C2E47 #470C2E #2E470C
tetradic
#0C2E47 #430C47 #47250C #11470C
square
#0C2E47 #430C47 #47250C #11470C
split-complementary
#0C2E47 #470C11 #47430C
monochromatic
#04111A #04111A #0C2E47 #15507B #1E72B0

Accessibility & contrast

On white

14.02
#0C2E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C2E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E47
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E47#FFFFFF#000000##FFFFFF
##0C2E471.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F48
Deuteranopia (green-blind)
#1A2947
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2e47;
/* rgb */ color: rgb(12, 46, 71);
/* oklch */ color: oklch(29.1% 0.060 244.5);
Tailwind
colors: {
  custom: {
    50: '#55667a',
    500: '#0c2e47',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e47;
$custom-light: #55667a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e47",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 205.424,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29062,
    "c": 0.05987,
    "h": 244.5
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#0C2E47
secondary
#83512C
accent
#863AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2E47

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

Preview Lab → · Contrast checker → · Palette generator →

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