#0C2F40#0C2F40

#0C2F40 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.050 H 233.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#0C2F40
RGBrgb(12, 47, 64)
HSLhsl(200, 68%, 15%)
HSVhsv(200, 81%, 25%)
CMYKcmyk(81.2%, 26.6%, 0%, 74.9%)
CIE-LABlab(17.83, -5.68, -14.31)
CIE-LCHlch(17.83, 15.40, 248.35°)
OKLaboklab(28.92% -0.0297 -0.0402)
OKLCHoklch(28.92% 0.05 233.6)
XYZxyz(2.0932, 2.4811, 5.2181)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F40 #401D0C
analogous
#0C4037 #0C2F40 #0C1540
triadic
#0C2F40 #400C2F #2F400C
tetradic
#0C2F40 #370C40 #401D0C #15400C
square
#0C2F40 #370C40 #401D0C #15400C
split-complementary
#0C2F40 #400C15 #40370C
monochromatic
#05131A #05131A #0C2F40 #165574 #1F7BA7

Accessibility & contrast

On white

14.04
#0C2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F40
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F40#FFFFFF#000000##FFFFFF
##0C2F401.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E41
Deuteranopia (green-blind)
#202940
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2f40;
/* rgb */ color: rgb(12, 47, 64);
/* oklch */ color: oklch(28.9% 0.050 233.6);
Tailwind
colors: {
  custom: {
    50: '#536775',
    500: '#0c2f40',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f40;
$custom-light: #536775;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f40",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 199.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28915,
    "c": 0.05002,
    "h": 233.6
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#0C2F40
secondary
#7C462C
accent
#763DEB
background
#F5F6F7
surface
#E8EBED
border
#C4C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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