#0C2F45#0C2F45

#0C2F45 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.056 H 240.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#0C2F45
RGBrgb(12, 47, 69)
HSLhsl(203, 70%, 16%)
HSVhsv(203, 83%, 27%)
CMYKcmyk(82.6%, 31.9%, 0%, 72.9%)
CIE-LABlab(18.10, -3.59, -17.32)
CIE-LCHlch(18.10, 17.69, 258.27°)
OKLaboklab(29.22% -0.0277 -0.0489)
OKLCHoklch(29.22% 0.056 240.5)
XYZxyz(2.2419, 2.5406, 6.0013)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F45 #45220C
analogous
#0C453E #0C2F45 #0C1245
triadic
#0C2F45 #450C2F #2F450C
tetradic
#0C2F45 #3E0C45 #45220C #12450C
square
#0C2F45 #3E0C45 #45220C #12450C
split-complementary
#0C2F45 #450C12 #453E0C
monochromatic
#05121A #05121A #0C2F45 #155379 #1E76AD

Accessibility & contrast

On white

13.92
#0C2F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F45
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F45#FFFFFF#000000##FFFFFF
##0C2F451.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252F46
Deuteranopia (green-blind)
#1D2A45
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2f45;
/* rgb */ color: rgb(12, 47, 69);
/* oklch */ color: oklch(29.2% 0.056 240.5);
Tailwind
colors: {
  custom: {
    50: '#546778',
    500: '#0c2f45',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f45;
$custom-light: #546778;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f45",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 203.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29217,
    "c": 0.05622,
    "h": 240.5
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#0C2F45
secondary
#814D2C
accent
#803BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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