#0C293B#0C293B

#0C293B is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.048 H 239.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0C293B
RGBrgb(12, 41, 59)
HSLhsl(203, 66%, 14%)
HSVhsv(203, 80%, 23%)
CMYKcmyk(79.7%, 30.5%, 0%, 76.9%)
CIE-LABlab(15.38, -3.64, -14.67)
CIE-LCHlch(15.38, 15.12, 256.07°)
OKLaboklab(26.88% -0.0244 -0.0413)
OKLCHoklch(26.88% 0.048 239.4)
XYZxyz(1.7337, 1.9796, 4.4276)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C293B #3B1E0C
analogous
#0C3B36 #0C293B #0C123B
triadic
#0C293B #3B0C29 #293B0C
tetradic
#0C293B #360C3B #3B1E0C #123B0C
square
#0C293B #360C3B #3B1E0C #123B0C
split-complementary
#0C293B #3B0C12 #3B360C
monochromatic
#051219 #051219 #0C293B #164C6E #2170A1

Accessibility & contrast

On white

15.04
#0C293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C293B
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C293B#FFFFFF#000000##FFFFFF
##0C293B1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293C
Deuteranopia (green-blind)
#1A243B
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c293b;
/* rgb */ color: rgb(12, 41, 59);
/* oklch */ color: oklch(26.9% 0.048 239.4);
Tailwind
colors: {
  custom: {
    50: '#526271',
    500: '#0c293b',
    950: '#000000',
  },
}
SCSS
$custom: #0c293b;
$custom-light: #526271;
$custom-dark: #000000;
JSON
{
  "hex": "#0c293b",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 202.979,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26878,
    "c": 0.04801,
    "h": 239.4
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#0C293B
secondary
#77492C
accent
#803FE9
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C293B

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

Preview Lab → · Contrast checker → · Palette generator →

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