#18273E#18273E

#18273E is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.2% C 0.048 H 258.7°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#18273E
RGBrgb(24, 39, 62)
HSLhsl(216, 44%, 17%)
HSVhsv(216, 61%, 24%)
CMYKcmyk(61.3%, 37.1%, 0%, 75.7%)
CIE-LABlab(15.45, 1.82, -16.61)
CIE-LCHlch(15.45, 16.71, 276.24°)
OKLaboklab(27.16% -0.0094 -0.0468)
OKLCHoklch(27.16% 0.048 258.7)
XYZxyz(1.9714, 1.9929, 4.8373)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18273E #3E2F18
analogous
#183A3E #18273E #1C183E
triadic
#18273E #3E1827 #273E18
tetradic
#18273E #3E183A #3E2F18 #183E1C
square
#18273E #3E183A #3E2F18 #183E1C
split-complementary
#18273E #3E1C18 #3A3E18
monochromatic
#090E16 #090E16 #18273E #29436A #3A5F96

Accessibility & contrast

On white

15.02
#18273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#18273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18273E
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18273E#FFFFFF#000000##FFFFFF
##18273E1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#042C2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18273e;
/* rgb */ color: rgb(24, 39, 62);
/* oklch */ color: oklch(27.2% 0.048 258.7);
Tailwind
colors: {
  custom: {
    50: '#586073',
    500: '#18273e',
    950: '#000000',
  },
}
SCSS
$custom: #18273e;
$custom-light: #586073;
$custom-dark: #000000;
JSON
{
  "hex": "#18273e",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 216.316,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27156,
    "c": 0.04772,
    "h": 258.7
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#18273E
secondary
#745F3D
accent
#A154D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #18273E

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

Preview Lab → · Contrast checker → · Palette generator →

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