#18273B#18273B

#18273B is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.043 H 255.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#18273B
RGBrgb(24, 39, 59)
HSLhsl(214, 42%, 16%)
HSVhsv(214, 59%, 23%)
CMYKcmyk(59.3%, 33.9%, 0%, 76.9%)
CIE-LABlab(15.28, 0.66, -14.78)
CIE-LCHlch(15.28, 14.80, 272.57°)
OKLaboklab(26.97% -0.0104 -0.0415)
OKLCHoklch(26.97% 0.043 255.9)
XYZxyz(1.8914, 1.9609, 4.4156)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18273B #3B2C18
analogous
#18393B #18273B #1B183B
triadic
#18273B #3B1827 #273B18
tetradic
#18273B #3B1839 #3B2C18 #183B1B
square
#18273B #3B1839 #3B2C18 #183B1B
split-complementary
#18273B #3B1B18 #393B18
monochromatic
#090E16 #090E16 #18273B #2A4467 #3B6192

Accessibility & contrast

On white

15.08
#18273B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#18273B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18273B
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18273B#FFFFFF#000000##FFFFFF
##18273B1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#1B253B
Tritanopia (blue-blind)
#072B2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18273b;
/* rgb */ color: rgb(24, 39, 59);
/* oklch */ color: oklch(27.0% 0.043 255.9);
Tailwind
colors: {
  custom: {
    50: '#586071',
    500: '#18273b',
    950: '#000000',
  },
}
SCSS
$custom: #18273b;
$custom-light: #586071;
$custom-dark: #000000;
JSON
{
  "hex": "#18273b",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 59
  },
  "hsl": {
    "h": 214.286,
    "s": 42.169,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26968,
    "c": 0.04277,
    "h": 255.9
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#18273B
secondary
#715B3E
accent
#9D56D2
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030507
muted
#78797A

Preview Lab

Preview with #18273B

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

Preview Lab → · Contrast checker → · Palette generator →

#18273B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva