#0C2A44#0C2A44

#0C2A44 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.060 H 248.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0C2A44
RGBrgb(12, 42, 68)
HSLhsl(208, 70%, 16%)
HSVhsv(208, 82%, 27%)
CMYKcmyk(82.4%, 38.2%, 0%, 73.3%)
CIE-LABlab(16.26, -0.50, -19.53)
CIE-LCHlch(16.26, 19.53, 268.53°)
OKLaboklab(27.74% -0.0223 -0.0554)
OKLCHoklch(27.74% 0.06 248.1)
XYZxyz(2.0226, 2.1512, 5.7764)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A44 #44260C
analogous
#0C4442 #0C2A44 #0C0E44
triadic
#0C2A44 #440C2A #2A440C
tetradic
#0C2A44 #420C44 #44260C #0E440C
square
#0C2A44 #420C44 #44260C #0E440C
split-complementary
#0C2A44 #440C0E #44420C
monochromatic
#05101A #05101A #0C2A44 #154A78 #1E6AAC

Accessibility & contrast

On white

14.68
#0C2A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2A44
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A44#FFFFFF#000000##FFFFFF
##0C2A441.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B45
Deuteranopia (green-blind)
#162643
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2a44;
/* rgb */ color: rgb(12, 42, 68);
/* oklch */ color: oklch(27.7% 0.060 248.1);
Tailwind
colors: {
  custom: {
    50: '#546378',
    500: '#0c2a44',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a44;
$custom-light: #546378;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a44",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 207.857,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27745,
    "c": 0.05975,
    "h": 248.1
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#0C2A44
secondary
#80532C
accent
#8E3BED
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2A44

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

Preview Lab → · Contrast checker → · Palette generator →

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