#0C2F48#0C2F48

#0C2F48 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.060 H 243.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#0C2F48
RGBrgb(12, 47, 72)
HSLhsl(205, 71%, 16%)
HSVhsv(205, 83%, 28%)
CMYKcmyk(83.3%, 34.7%, 0%, 71.8%)
CIE-LABlab(18.27, -2.32, -19.09)
CIE-LCHlch(18.27, 19.23, 263.07°)
OKLaboklab(29.41% -0.0265 -0.0541)
OKLCHoklch(29.41% 0.06 243.9)
XYZxyz(2.3374, 2.5788, 6.5042)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F48 #48250C
analogous
#0C4843 #0C2F48 #0C1148
triadic
#0C2F48 #480C2F #2F480C
tetradic
#0C2F48 #430C48 #48250C #11480C
square
#0C2F48 #430C48 #48250C #11480C
split-complementary
#0C2F48 #480C11 #48430C
monochromatic
#04111A #04111A #0C2F48 #15517C #1D73B1

Accessibility & contrast

On white

13.85
#0C2F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C2F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F48
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F48#FFFFFF#000000##FFFFFF
##0C2F481.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233049
Deuteranopia (green-blind)
#1B2A48
Tritanopia (blue-blind)
#003538
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c2f48;
/* rgb */ color: rgb(12, 47, 72);
/* oklch */ color: oklch(29.4% 0.060 243.9);
Tailwind
colors: {
  custom: {
    50: '#55677b',
    500: '#0c2f48',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f48;
$custom-light: #55677b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f48",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 205,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.06027,
    "h": 243.9
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#0C2F48
secondary
#84512C
accent
#853AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C2F48

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

Preview Lab → · Contrast checker → · Palette generator →

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