#0C2F47#0C2F47

#0C2F47 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.059 H 242.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#0C2F47
RGBrgb(12, 47, 71)
HSLhsl(204, 71%, 16%)
HSVhsv(204, 83%, 28%)
CMYKcmyk(83.1%, 33.8%, 0%, 72.2%)
CIE-LABlab(18.21, -2.75, -18.50)
CIE-LCHlch(18.21, 18.71, 261.55°)
OKLaboklab(29.34% -0.0269 -0.0524)
OKLCHoklch(29.34% 0.059 242.8)
XYZxyz(2.3050, 2.5659, 6.3338)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F47 #47240C
analogous
#0C4742 #0C2F47 #0C1247
triadic
#0C2F47 #470C2F #2F470C
tetradic
#0C2F47 #420C47 #47240C #12470C
square
#0C2F47 #420C47 #47240C #12470C
split-complementary
#0C2F47 #470C12 #47420C
monochromatic
#04111A #04111A #0C2F47 #15527B #1E74B0

Accessibility & contrast

On white

13.88
#0C2F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C2F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F47
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F47#FFFFFF#000000##FFFFFF
##0C2F471.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243048
Deuteranopia (green-blind)
#1C2A47
Tritanopia (blue-blind)
#003537
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2f47;
/* rgb */ color: rgb(12, 47, 71);
/* oklch */ color: oklch(29.3% 0.059 242.8);
Tailwind
colors: {
  custom: {
    50: '#55677a',
    500: '#0c2f47',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f47;
$custom-light: #55677a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f47",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 71
  },
  "hsl": {
    "h": 204.407,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29343,
    "c": 0.0589,
    "h": 242.8
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#0C2F47
secondary
#834F2C
accent
#833AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C2F47

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

Preview Lab → · Contrast checker → · Palette generator →

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