#0C243A#0C243A

#0C243A is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.4% C 0.051 H 248.8°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#0C243A
RGBrgb(12, 36, 58)
HSLhsl(209, 66%, 14%)
HSVhsv(209, 79%, 23%)
CMYKcmyk(79.3%, 37.9%, 0%, 77.3%)
CIE-LABlab(13.50, -0.48, -16.91)
CIE-LCHlch(13.50, 16.92, 268.36°)
OKLaboklab(25.38% -0.0186 -0.0479)
OKLCHoklch(25.38% 0.051 248.8)
XYZxyz(1.5459, 1.6452, 4.2383)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C243A #3A220C
analogous
#0C3A39 #0C243A #0C0D3A
triadic
#0C243A #3A0C24 #243A0C
tetradic
#0C243A #390C3A #3A220C #0D3A0C
square
#0C243A #390C3A #3A220C #0D3A0C
split-complementary
#0C243A #3A0C0D #3A390C
monochromatic
#051019 #051019 #0C243A #16436D #21639F

Accessibility & contrast

On white

15.80
#0C243A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C243A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C243A
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C243A#FFFFFF#000000##FFFFFF
##0C243A1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253B
Deuteranopia (green-blind)
#14213A
Tritanopia (blue-blind)
#00292C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c243a;
/* rgb */ color: rgb(12, 36, 58);
/* oklch */ color: oklch(25.4% 0.051 248.8);
Tailwind
colors: {
  custom: {
    50: '#515e70',
    500: '#0c243a',
    950: '#000000',
  },
}
SCSS
$custom: #0c243a;
$custom-light: #515e70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c243a",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 58
  },
  "hsl": {
    "h": 208.696,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25377,
    "c": 0.0514,
    "h": 248.8
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#0C243A
secondary
#764F2C
accent
#903FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C243A

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

Preview Lab → · Contrast checker → · Palette generator →

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