#0C293F#0C293F

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

Color values

HEX#0C293F
RGBrgb(12, 41, 63)
HSLhsl(206, 68%, 15%)
HSVhsv(206, 81%, 25%)
CMYKcmyk(81%, 34.9%, 0%, 75.3%)
CIE-LABlab(15.61, -1.94, -17.10)
CIE-LCHlch(15.61, 17.21, 263.52°)
OKLaboklab(27.13% -0.0229 -0.0484)
OKLCHoklch(27.13% 0.054 244.7)
XYZxyz(1.8414, 2.0227, 4.9950)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C293F #3F220C
analogous
#0C3F3C #0C293F #0C103F
triadic
#0C293F #3F0C29 #293F0C
tetradic
#0C293F #3C0C3F #3F220C #103F0C
square
#0C293F #3C0C3F #3F220C #103F0C
split-complementary
#0C293F #3F0C10 #3F3C0C
monochromatic
#05111A #05111A #0C293F #164A72 #206CA6

Accessibility & contrast

On white

14.95
#0C293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C293F
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C293F#FFFFFF#000000##FFFFFF
##0C293F1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c293f;
/* rgb */ color: rgb(12, 41, 63);
/* oklch */ color: oklch(27.1% 0.054 244.7);
Tailwind
colors: {
  custom: {
    50: '#536274',
    500: '#0c293f',
    950: '#000000',
  },
}
SCSS
$custom: #0c293f;
$custom-light: #536274;
$custom-dark: #000000;
JSON
{
  "hex": "#0c293f",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 205.882,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.05353,
    "h": 244.7
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#0C293F
secondary
#7B4E2C
accent
#883DEB
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C293F

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

Preview Lab → · Contrast checker → · Palette generator →

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