#12262A#12262A

#12262A is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.4% C 0.027 H 211.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#12262A
RGBrgb(18, 38, 42)
HSLhsl(190, 40%, 12%)
HSVhsv(190, 57%, 16%)
CMYKcmyk(57.1%, 9.5%, 0%, 83.5%)
CIE-LABlab(13.72, -6.71, -5.17)
CIE-LCHlch(13.72, 8.47, 217.59°)
OKLaboklab(25.36% -0.0229 -0.0142)
OKLCHoklch(25.36% 0.027 211.9)
XYZxyz(1.3603, 1.6819, 2.4430)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12262A #2A1612
analogous
#122A22 #12262A #121A2A
triadic
#12262A #2A1226 #262A12
tetradic
#12262A #22122A #2A1612 #1A2A12
square
#12262A #22122A #2A1612 #1A2A12
split-complementary
#12262A #2A121A #2A2212
monochromatic
#091315 #091315 #12262A #244D55 #377480

Accessibility & contrast

On white

15.71
#12262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#12262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12262A
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12262A#FFFFFF#000000##FFFFFF
##12262A1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#1F222A
Tritanopia (blue-blind)
#062827
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #12262a;
/* rgb */ color: rgb(18, 38, 42);
/* oklch */ color: oklch(25.4% 0.027 211.9);
Tailwind
colors: {
  custom: {
    50: '#526063',
    500: '#12262a',
    950: '#000000',
  },
}
SCSS
$custom: #12262a;
$custom-light: #526063;
$custom-dark: #000000;
JSON
{
  "hex": "#12262a",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 190,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25361,
    "c": 0.02694,
    "h": 211.9
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#12262A
secondary
#613E37
accent
#6C58D0
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020405
muted
#787979

Preview Lab

Preview with #12262A

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

Preview Lab → · Contrast checker → · Palette generator →

#12262A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva