#0C293A#0C293A

#0C293A is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.047 H 237.9°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#0C293A
RGBrgb(12, 41, 58)
HSLhsl(202, 66%, 14%)
HSVhsv(202, 79%, 23%)
CMYKcmyk(79.3%, 29.3%, 0%, 77.3%)
CIE-LABlab(15.33, -4.06, -14.06)
CIE-LCHlch(15.33, 14.63, 253.90°)
OKLaboklab(26.82% -0.0248 -0.0396)
OKLCHoklch(26.82% 0.047 237.9)
XYZxyz(1.7080, 1.9693, 4.2923)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C293A #3A1D0C
analogous
#0C3A34 #0C293A #0C123A
triadic
#0C293A #3A0C29 #293A0C
tetradic
#0C293A #340C3A #3A1D0C #123A0C
square
#0C293A #340C3A #3A1D0C #123A0C
split-complementary
#0C293A #3A0C12 #3A340C
monochromatic
#051219 #051219 #0C293A #164D6D #21719F

Accessibility & contrast

On white

15.06
#0C293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C293A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C293A#FFFFFF#000000##FFFFFF
##0C293A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#1B243A
Tritanopia (blue-blind)
#002D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c293a;
/* rgb */ color: rgb(12, 41, 58);
/* oklch */ color: oklch(26.8% 0.047 237.9);
Tailwind
colors: {
  custom: {
    50: '#526270',
    500: '#0c293a',
    950: '#000000',
  },
}
SCSS
$custom: #0c293a;
$custom-light: #526270;
$custom-dark: #000000;
JSON
{
  "hex": "#0c293a",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 202.174,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26817,
    "c": 0.04671,
    "h": 237.9
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#0C293A
secondary
#76472C
accent
#7E3FE9
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C293A

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

Preview Lab → · Contrast checker → · Palette generator →

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