#0C243F#0C243F

#0C243F is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.7% C 0.059 H 253.4°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#0C243F
RGBrgb(12, 36, 63)
HSLhsl(212, 68%, 15%)
HSVhsv(212, 81%, 25%)
CMYKcmyk(81%, 42.9%, 0%, 75.3%)
CIE-LABlab(13.82, 1.70, -19.93)
CIE-LCHlch(13.82, 20.00, 274.88°)
OKLaboklab(25.73% -0.0169 -0.0567)
OKLCHoklch(25.73% 0.059 253.4)
XYZxyz(1.6794, 1.6986, 4.9410)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C243F #3F270C
analogous
#0C3E3F #0C243F #0E0C3F
triadic
#0C243F #3F0C24 #243F0C
tetradic
#0C243F #3F0C3E #3F270C #0C3F0E
square
#0C243F #3F0C3E #3F270C #0C3F0E
split-complementary
#0C243F #3F0E0C #3E3F0C
monochromatic
#050F1A #050F1A #0C243F #164172 #205FA6

Accessibility & contrast

On white

15.67
#0C243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0C243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C243F
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C243F#FFFFFF#000000##FFFFFF
##0C243F1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182640
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#002A2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c243f;
/* rgb */ color: rgb(12, 36, 63);
/* oklch */ color: oklch(25.7% 0.059 253.4);
Tailwind
colors: {
  custom: {
    50: '#535e74',
    500: '#0c243f',
    950: '#000000',
  },
}
SCSS
$custom: #0c243f;
$custom-light: #535e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c243f",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 211.765,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.0592,
    "h": 253.4
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#0C243F
secondary
#7B562C
accent
#993DEB
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C243F

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

Preview Lab → · Contrast checker → · Palette generator →

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