#0C2D48#0C2D48

#0C2D48 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.062 H 247.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#0C2D48
RGBrgb(12, 45, 72)
HSLhsl(207, 71%, 16%)
HSVhsv(207, 83%, 28%)
CMYKcmyk(83.3%, 37.5%, 0%, 71.8%)
CIE-LABlab(17.56, -0.91, -20.21)
CIE-LCHlch(17.56, 20.23, 267.41°)
OKLaboklab(28.85% -0.0243 -0.0574)
OKLCHoklch(28.85% 0.062 247.1)
XYZxyz(2.2593, 2.4226, 6.4782)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D48 #48270C
analogous
#0C4845 #0C2D48 #0C0F48
triadic
#0C2D48 #480C2D #2D480C
tetradic
#0C2D48 #450C48 #48270C #0F480C
square
#0C2D48 #450C48 #48270C #0F480C
split-complementary
#0C2D48 #480C0F #48450C
monochromatic
#04101A #04101A #0C2D48 #154E7C #1D6FB1

Accessibility & contrast

On white

14.15
#0C2D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D48
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D48#FFFFFF#000000##FFFFFF
##0C2D481.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E49
Deuteranopia (green-blind)
#182947
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2d48;
/* rgb */ color: rgb(12, 45, 72);
/* oklch */ color: oklch(28.8% 0.062 247.1);
Tailwind
colors: {
  custom: {
    50: '#55657b',
    500: '#0c2d48',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d48;
$custom-light: #55657b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d48",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 72
  },
  "hsl": {
    "h": 207,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.06232,
    "h": 247.1
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#0C2D48
secondary
#84542C
accent
#8B3AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2D48

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

Preview Lab → · Contrast checker → · Palette generator →

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