#18273C#18273C

#18273C is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.0% C 0.044 H 256.9°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#18273C
RGBrgb(24, 39, 60)
HSLhsl(215, 43%, 16%)
HSVhsv(215, 60%, 24%)
CMYKcmyk(60%, 35%, 0%, 76.5%)
CIE-LABlab(15.34, 1.05, -15.39)
CIE-LCHlch(15.34, 15.43, 273.88°)
OKLaboklab(27.03% -0.01 -0.0433)
OKLCHoklch(27.03% 0.044 256.9)
XYZxyz(1.9175, 1.9713, 4.5535)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18273C #3C2D18
analogous
#18393C #18273C #1B183C
triadic
#18273C #3C1827 #273C18
tetradic
#18273C #3C1839 #3C2D18 #183C1B
square
#18273C #3C1839 #3C2D18 #183C1B
split-complementary
#18273C #3C1B18 #393C18
monochromatic
#090E16 #090E16 #18273C #294368 #3B6093

Accessibility & contrast

On white

15.06
#18273C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18273C
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18273C#FFFFFF#000000##FFFFFF
##18273C1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283D
Deuteranopia (green-blind)
#1A253C
Tritanopia (blue-blind)
#062C2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18273c;
/* rgb */ color: rgb(24, 39, 60);
/* oklch */ color: oklch(27.0% 0.044 256.9);
Tailwind
colors: {
  custom: {
    50: '#586071',
    500: '#18273c',
    950: '#000000',
  },
}
SCSS
$custom: #18273c;
$custom-light: #586071;
$custom-dark: #000000;
JSON
{
  "hex": "#18273c",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 60
  },
  "hsl": {
    "h": 215,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2703,
    "c": 0.04441,
    "h": 256.9
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#18273C
secondary
#725C3E
accent
#9E55D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030507
muted
#78797A

Preview Lab

Preview with #18273C

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

Preview Lab → · Contrast checker → · Palette generator →

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