#12272E#12272E

#12272E is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.030 H 221.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#12272E
RGBrgb(18, 39, 46)
HSLhsl(195, 44%, 13%)
HSVhsv(195, 61%, 18%)
CMYKcmyk(60.9%, 15.2%, 0%, 82%)
CIE-LABlab(14.27, -5.96, -7.19)
CIE-LCHlch(14.27, 9.34, 230.37°)
OKLaboklab(25.86% -0.0224 -0.0199)
OKLCHoklch(25.86% 0.03 221.7)
XYZxyz(1.4679, 1.7768, 2.8498)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12272E #2E1912
analogous
#122E27 #12272E #12192E
triadic
#12272E #2E1227 #272E12
tetradic
#12272E #27122E #2E1912 #192E12
square
#12272E #27122E #2E1912 #192E12
split-complementary
#12272E #2E1219 #2E2712
monochromatic
#091316 #091316 #12272E #234C5A #347286

Accessibility & contrast

On white

15.49
#12272E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#12272E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12272E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12272E#FFFFFF#000000##FFFFFF
##12272E1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262E
Deuteranopia (green-blind)
#1F232E
Tritanopia (blue-blind)
#042929
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12272e;
/* rgb */ color: rgb(18, 39, 46);
/* oklch */ color: oklch(25.9% 0.030 221.7);
Tailwind
colors: {
  custom: {
    50: '#526166',
    500: '#12272e',
    950: '#000000',
  },
}
SCSS
$custom: #12272e;
$custom-light: #526166;
$custom-dark: #000000;
JSON
{
  "hex": "#12272e",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 195,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25857,
    "c": 0.02993,
    "h": 221.7
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#12272E
secondary
#664236
accent
#7454D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020506
muted
#78797A

Preview Lab

Preview with #12272E

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

Preview Lab → · Contrast checker → · Palette generator →

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