#0C2748#0C2748

#0C2748 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.070 H 255.2°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#0C2748
RGBrgb(12, 39, 72)
HSLhsl(213, 71%, 16%)
HSVhsv(213, 83%, 28%)
CMYKcmyk(83.3%, 45.8%, 0%, 71.8%)
CIE-LABlab(15.47, 3.45, -23.53)
CIE-LCHlch(15.47, 23.78, 278.34°)
OKLaboklab(27.21% -0.0177 -0.0672)
OKLCHoklch(27.21% 0.07 255.2)
XYZxyz(2.0464, 1.9968, 6.4072)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2748 #482D0C
analogous
#0C4548 #0C2748 #0F0C48
triadic
#0C2748 #480C27 #27480C
tetradic
#0C2748 #480C45 #482D0C #0C480F
square
#0C2748 #480C45 #482D0C #0C480F
split-complementary
#0C2748 #480F0C #45480C
monochromatic
#040E1A #040E1A #0C2748 #15437C #1D60B1

Accessibility & contrast

On white

15.01
#0C2748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2748
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2748#FFFFFF#000000##FFFFFF
##0C27481.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#0D2447
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2748;
/* rgb */ color: rgb(12, 39, 72);
/* oklch */ color: oklch(27.2% 0.070 255.2);
Tailwind
colors: {
  custom: {
    50: '#55607b',
    500: '#0c2748',
    950: '#000000',
  },
}
SCSS
$custom: #0c2748;
$custom-light: #55607b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2748",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 213,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27211,
    "c": 0.06954,
    "h": 255.2
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#0C2748
secondary
#845C2C
accent
#9D3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2748

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

Preview Lab → · Contrast checker → · Palette generator →

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