#18273D#18273D

#18273D is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.1% C 0.046 H 257.8°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#18273D
RGBrgb(24, 39, 61)
HSLhsl(216, 44%, 17%)
HSVhsv(216, 61%, 24%)
CMYKcmyk(60.7%, 36.1%, 0%, 76.1%)
CIE-LABlab(15.39, 1.43, -16.00)
CIE-LCHlch(15.39, 16.07, 275.11°)
OKLaboklab(27.09% -0.0097 -0.045)
OKLCHoklch(27.09% 0.046 257.8)
XYZxyz(1.9442, 1.9820, 4.6941)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18273D #3D2E18
analogous
#183A3D #18273D #1C183D
triadic
#18273D #3D1827 #273D18
tetradic
#18273D #3D183A #3D2E18 #183D1C
square
#18273D #3D183A #3D2E18 #183D1C
split-complementary
#18273D #3D1C18 #3A3D18
monochromatic
#090E16 #090E16 #18273D #294369 #3B5F95

Accessibility & contrast

On white

15.04
#18273D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18273D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18273D#FFFFFF#000000##FFFFFF
##18273D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283E
Deuteranopia (green-blind)
#1A253D
Tritanopia (blue-blind)
#052C2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #18273d;
/* rgb */ color: rgb(24, 39, 61);
/* oklch */ color: oklch(27.1% 0.046 257.8);
Tailwind
colors: {
  custom: {
    50: '#586072',
    500: '#18273d',
    950: '#000000',
  },
}
SCSS
$custom: #18273d;
$custom-light: #586072;
$custom-dark: #000000;
JSON
{
  "hex": "#18273d",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 61
  },
  "hsl": {
    "h": 215.676,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27093,
    "c": 0.04606,
    "h": 257.8
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#18273D
secondary
#735D3D
accent
#A055D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030508
muted
#78797B

Preview Lab

Preview with #18273D

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

Preview Lab → · Contrast checker → · Palette generator →

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