#0C2848#0C2848

#0C2848 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.068 H 254.0°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#0C2848
RGBrgb(12, 40, 72)
HSLhsl(212, 71%, 16%)
HSVhsv(212, 83%, 28%)
CMYKcmyk(83.3%, 44.4%, 0%, 71.8%)
CIE-LABlab(15.82, 2.71, -22.98)
CIE-LCHlch(15.82, 23.14, 276.72°)
OKLaboklab(27.48% -0.0188 -0.0656)
OKLCHoklch(27.48% 0.068 254)
XYZxyz(2.0797, 2.0634, 6.4183)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2848 #482C0C
analogous
#0C4648 #0C2848 #0E0C48
triadic
#0C2848 #480C28 #28480C
tetradic
#0C2848 #480C46 #482C0C #0C480E
square
#0C2848 #480C46 #482C0C #0C480E
split-complementary
#0C2848 #480E0C #46480C
monochromatic
#040F1A #040F1A #0C2848 #15457C #1D62B1

Accessibility & contrast

On white

14.86
#0C2848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2848
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2848#FFFFFF#000000##FFFFFF
##0C28481.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A49
Deuteranopia (green-blind)
#0F2547
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2848;
/* rgb */ color: rgb(12, 40, 72);
/* oklch */ color: oklch(27.5% 0.068 254.0);
Tailwind
colors: {
  custom: {
    50: '#55617b',
    500: '#0c2848',
    950: '#000000',
  },
}
SCSS
$custom: #0c2848;
$custom-light: #55617b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2848",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 212,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2748,
    "c": 0.06825,
    "h": 254
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#0C2848
secondary
#845B2C
accent
#9A3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2848

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

Preview Lab → · Contrast checker → · Palette generator →

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