#0C243B#0C243B

#0C243B is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.4% C 0.053 H 249.8°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0C243B
RGBrgb(12, 36, 59)
HSLhsl(209, 66%, 14%)
HSVhsv(209, 80%, 23%)
CMYKcmyk(79.7%, 39%, 0%, 76.9%)
CIE-LABlab(13.56, -0.05, -17.52)
CIE-LCHlch(13.56, 17.52, 269.83°)
OKLaboklab(25.45% -0.0182 -0.0497)
OKLCHoklch(25.45% 0.053 249.8)
XYZxyz(1.5716, 1.6555, 4.3735)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C243B #3B230C
analogous
#0C3B3B #0C243B #0C0D3B
triadic
#0C243B #3B0C24 #243B0C
tetradic
#0C243B #3B0C3B #3B230C #0D3B0C
square
#0C243B #3B0C3B #3B230C #0D3B0C
split-complementary
#0C243B #3B0C0D #3B3B0C
monochromatic
#051019 #051019 #0C243B #16436E #2162A1

Accessibility & contrast

On white

15.78
#0C243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C243B
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C243B#FFFFFF#000000##FFFFFF
##0C243B1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253C
Deuteranopia (green-blind)
#13213B
Tritanopia (blue-blind)
#00292C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c243b;
/* rgb */ color: rgb(12, 36, 59);
/* oklch */ color: oklch(25.4% 0.053 249.8);
Tailwind
colors: {
  custom: {
    50: '#525e71',
    500: '#0c243b',
    950: '#000000',
  },
}
SCSS
$custom: #0c243b;
$custom-light: #525e71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c243b",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 209.362,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25445,
    "c": 0.05294,
    "h": 249.8
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#0C243B
secondary
#77512C
accent
#923FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C243B

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

Preview Lab → · Contrast checker → · Palette generator →

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