#0C2A3A#0C2A3A

#0C2A3A is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.046 H 235.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#0C2A3A
RGBrgb(12, 42, 58)
HSLhsl(201, 66%, 14%)
HSVhsv(201, 79%, 23%)
CMYKcmyk(79.3%, 27.6%, 0%, 77.3%)
CIE-LABlab(15.69, -4.75, -13.49)
CIE-LCHlch(15.69, 14.30, 250.58°)
OKLaboklab(27.11% -0.0261 -0.0379)
OKLCHoklch(27.11% 0.046 235.5)
XYZxyz(1.7430, 2.0394, 4.3039)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A3A #3A1C0C
analogous
#0C3A33 #0C2A3A #0C133A
triadic
#0C2A3A #3A0C2A #2A3A0C
tetradic
#0C2A3A #330C3A #3A1C0C #133A0C
square
#0C2A3A #330C3A #3A1C0C #133A0C
split-complementary
#0C2A3A #3A0C13 #3A330C
monochromatic
#051219 #051219 #0C2A3A #164F6D #21739F

Accessibility & contrast

On white

14.91
#0C2A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A3A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A3A#FFFFFF#000000##FFFFFF
##0C2A3A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3B
Deuteranopia (green-blind)
#1C253A
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2a3a;
/* rgb */ color: rgb(12, 42, 58);
/* oklch */ color: oklch(27.1% 0.046 235.5);
Tailwind
colors: {
  custom: {
    50: '#526370',
    500: '#0c2a3a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a3a;
$custom-light: #526370;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a3a",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 200.87,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27108,
    "c": 0.04602,
    "h": 235.5
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#0C2A3A
secondary
#76462C
accent
#7A3FE9
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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