#0C293E#0C293E

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

Color values

HEX#0C293E
RGBrgb(12, 41, 62)
HSLhsl(205, 68%, 15%)
HSVhsv(205, 81%, 24%)
CMYKcmyk(80.6%, 33.9%, 0%, 75.7%)
CIE-LABlab(15.55, -2.37, -16.50)
CIE-LCHlch(15.55, 16.67, 261.82°)
OKLaboklab(27.07% -0.0232 -0.0466)
OKLCHoklch(27.07% 0.052 243.5)
XYZxyz(1.8137, 2.0116, 4.8492)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C293E #3E210C
analogous
#0C3E3A #0C293E #0C103E
triadic
#0C293E #3E0C29 #293E0C
tetradic
#0C293E #3A0C3E #3E210C #103E0C
square
#0C293E #3A0C3E #3E210C #103E0C
split-complementary
#0C293E #3E0C10 #3E3A0C
monochromatic
#05111A #05111A #0C293E #164B71 #206DA5

Accessibility & contrast

On white

14.97
#0C293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C293E
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C293E#FFFFFF#000000##FFFFFF
##0C293E1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#002E30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c293e;
/* rgb */ color: rgb(12, 41, 62);
/* oklch */ color: oklch(27.1% 0.052 243.5);
Tailwind
colors: {
  custom: {
    50: '#526273',
    500: '#0c293e',
    950: '#000000',
  },
}
SCSS
$custom: #0c293e;
$custom-light: #526273;
$custom-dark: #000000;
JSON
{
  "hex": "#0c293e",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 205.2,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27066,
    "c": 0.05211,
    "h": 243.5
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#0C293E
secondary
#7A4D2C
accent
#863DEA
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C293E

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

Preview Lab → · Contrast checker → · Palette generator →

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