#12272F#12272F

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

Color values

HEX#12272F
RGBrgb(18, 39, 47)
HSLhsl(197, 45%, 13%)
HSVhsv(197, 62%, 18%)
CMYKcmyk(61.7%, 17%, 0%, 81.6%)
CIE-LABlab(14.31, -5.59, -7.84)
CIE-LCHlch(14.31, 9.62, 234.52°)
OKLaboklab(25.91% -0.0219 -0.0217)
OKLCHoklch(25.91% 0.031 224.8)
XYZxyz(1.4879, 1.7847, 2.9549)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12272F #2F1A12
analogous
#122F28 #12272F #12182F
triadic
#12272F #2F1227 #272F12
tetradic
#12272F #28122F #2F1A12 #182F12
square
#12272F #28122F #2F1A12 #182F12
split-complementary
#12272F #2F1218 #2F2812
monochromatic
#081216 #081216 #12272F #234C5B #347088

Accessibility & contrast

On white

15.48
#12272F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12272F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12272F#FFFFFF#000000##FFFFFF
##12272F1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#1E232F
Tritanopia (blue-blind)
#03292A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12272f;
/* rgb */ color: rgb(18, 39, 47);
/* oklch */ color: oklch(25.9% 0.031 224.8);
Tailwind
colors: {
  custom: {
    50: '#526167',
    500: '#12272f',
    950: '#000000',
  },
}
SCSS
$custom: #12272f;
$custom-light: #526167;
$custom-dark: #000000;
JSON
{
  "hex": "#12272f",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 196.552,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25908,
    "c": 0.03082,
    "h": 224.8
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#12272F
secondary
#674336
accent
#7753D4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020506
muted
#78797A

Preview Lab

Preview with #12272F

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

Preview Lab → · Contrast checker → · Palette generator →

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