#12242E#12242E

#12242E is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.030 H 234.2°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#12242E
RGBrgb(18, 36, 46)
HSLhsl(201, 44%, 13%)
HSVhsv(201, 61%, 18%)
CMYKcmyk(60.9%, 21.7%, 0%, 82%)
CIE-LABlab(13.15, -3.88, -8.90)
CIE-LCHlch(13.15, 9.71, 246.42°)
OKLaboklab(24.97% -0.0178 -0.0247)
OKLCHoklch(24.97% 0.03 234.2)
XYZxyz(1.3733, 1.5875, 2.8183)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12242E #2E1C12
analogous
#122E2A #12242E #12162E
triadic
#12242E #2E1224 #242E12
tetradic
#12242E #2A122E #2E1C12 #162E12
square
#12242E #2A122E #2E1C12 #162E12
split-complementary
#12242E #2E1216 #2E2A12
monochromatic
#091116 #091116 #12242E #23465A #346986

Accessibility & contrast

On white

15.94
#12242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12242E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12242E#FFFFFF#000000##FFFFFF
##12242E1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F242E
Deuteranopia (green-blind)
#1B212E
Tritanopia (blue-blind)
#042727
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12242e;
/* rgb */ color: rgb(18, 36, 46);
/* oklch */ color: oklch(25.0% 0.030 234.2);
Tailwind
colors: {
  custom: {
    50: '#525e66',
    500: '#12242e',
    950: '#000000',
  },
}
SCSS
$custom: #12242e;
$custom-light: #525e66;
$custom-dark: #000000;
JSON
{
  "hex": "#12242e",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 201.429,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2497,
    "c": 0.03048,
    "h": 234.2
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#12242E
secondary
#664736
accent
#8254D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #12242E

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

Preview Lab → · Contrast checker → · Palette generator →

#12242E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva