#0C2648#0C2648

#0C2648 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.9% C 0.071 H 256.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#0C2648
RGBrgb(12, 38, 72)
HSLhsl(214, 71%, 16%)
HSVhsv(214, 83%, 28%)
CMYKcmyk(83.3%, 47.2%, 0%, 71.8%)
CIE-LABlab(15.13, 4.20, -24.08)
CIE-LCHlch(15.13, 24.44, 279.88°)
OKLaboklab(26.94% -0.0167 -0.0689)
OKLCHoklch(26.94% 0.071 256.4)
XYZxyz(2.0140, 1.9320, 6.3964)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2648 #482E0C
analogous
#0C4448 #0C2648 #100C48
triadic
#0C2648 #480C26 #26480C
tetradic
#0C2648 #480C44 #482E0C #0C4810
square
#0C2648 #480C44 #482E0C #0C4810
split-complementary
#0C2648 #48100C #44480C
monochromatic
#040E1A #040E1A #0C2648 #15427C #1D5DB1

Accessibility & contrast

On white

15.15
#0C2648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2648
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2648#FFFFFF#000000##FFFFFF
##0C26481.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152949
Deuteranopia (green-blind)
#0B2347
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2648;
/* rgb */ color: rgb(12, 38, 72);
/* oklch */ color: oklch(26.9% 0.071 256.4);
Tailwind
colors: {
  custom: {
    50: '#555f7b',
    500: '#0c2648',
    950: '#000000',
  },
}
SCSS
$custom: #0c2648;
$custom-light: #555f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2648",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 72
  },
  "hsl": {
    "h": 214,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26944,
    "c": 0.07087,
    "h": 256.4
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#0C2648
secondary
#845E2C
accent
#A03AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2648

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

Preview Lab → · Contrast checker → · Palette generator →

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