#0C2948#0C2948

#0C2948 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.8% C 0.067 H 252.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#0C2948
RGBrgb(12, 41, 72)
HSLhsl(211, 71%, 16%)
HSVhsv(211, 83%, 28%)
CMYKcmyk(83.3%, 43.1%, 0%, 71.8%)
CIE-LABlab(16.16, 1.97, -22.43)
CIE-LCHlch(16.16, 22.51, 275.02°)
OKLaboklab(27.75% -0.0199 -0.064)
OKLCHoklch(27.75% 0.067 252.7)
XYZxyz(2.1138, 2.1317, 6.4297)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2948 #482B0C
analogous
#0C4748 #0C2948 #0D0C48
triadic
#0C2948 #480C29 #29480C
tetradic
#0C2948 #480C47 #482B0C #0C480D
square
#0C2948 #480C47 #482B0C #0C480D
split-complementary
#0C2948 #480D0C #47480C
monochromatic
#040F1A #040F1A #0C2948 #15477C #1D65B1

Accessibility & contrast

On white

14.72
#0C2948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2948
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2948#FFFFFF#000000##FFFFFF
##0C29481.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B49
Deuteranopia (green-blind)
#112647
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2948;
/* rgb */ color: rgb(12, 41, 72);
/* oklch */ color: oklch(27.8% 0.067 252.7);
Tailwind
colors: {
  custom: {
    50: '#55627b',
    500: '#0c2948',
    950: '#000000',
  },
}
SCSS
$custom: #0c2948;
$custom-light: #55627b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2948",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 211,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.06698,
    "h": 252.7
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#0C2948
secondary
#84592C
accent
#973AEE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2948

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

Preview Lab → · Contrast checker → · Palette generator →

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