#12282F#12282F

#12282F is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.2% C 0.031 H 220.8°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#12282F
RGBrgb(18, 40, 47)
HSLhsl(194, 45%, 13%)
HSVhsv(194, 62%, 18%)
CMYKcmyk(61.7%, 14.9%, 0%, 81.6%)
CIE-LABlab(14.69, -6.27, -7.27)
CIE-LCHlch(14.69, 9.60, 229.22°)
OKLaboklab(26.21% -0.0233 -0.0201)
OKLCHoklch(26.21% 0.031 220.8)
XYZxyz(1.5211, 1.8513, 2.9659)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12282F #2F1912
analogous
#122F27 #12282F #12192F
triadic
#12282F #2F1228 #282F12
tetradic
#12282F #27122F #2F1912 #192F12
square
#12282F #27122F #2F1912 #192F12
split-complementary
#12282F #2F1219 #2F2712
monochromatic
#081316 #081316 #12282F #234E5B #347388

Accessibility & contrast

On white

15.33
#12282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#12282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12282F
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12282F#FFFFFF#000000##FFFFFF
##12282F1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#1F242F
Tritanopia (blue-blind)
#032A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #12282f;
/* rgb */ color: rgb(18, 40, 47);
/* oklch */ color: oklch(26.2% 0.031 220.8);
Tailwind
colors: {
  custom: {
    50: '#526167',
    500: '#12282f',
    950: '#000000',
  },
}
SCSS
$custom: #12282f;
$custom-light: #526167;
$custom-dark: #000000;
JSON
{
  "hex": "#12282f",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 194.483,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.26205,
    "c": 0.03082,
    "h": 220.8
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#12282F
secondary
#674236
accent
#7353D4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020506
muted
#78797A

Preview Lab

Preview with #12282F

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

Preview Lab → · Contrast checker → · Palette generator →

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