#18273F#18273F

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

Color values

HEX#18273F
RGBrgb(24, 39, 63)
HSLhsl(217, 45%, 17%)
HSVhsv(217, 62%, 25%)
CMYKcmyk(61.9%, 38.1%, 0%, 75.3%)
CIE-LABlab(15.51, 2.21, -17.21)
CIE-LCHlch(15.51, 17.36, 277.30°)
OKLaboklab(27.22% -0.009 -0.0486)
OKLCHoklch(27.22% 0.049 259.5)
XYZxyz(1.9991, 2.0040, 4.9831)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18273F #3F3018
analogous
#183B3F #18273F #1D183F
triadic
#18273F #3F1827 #273F18
tetradic
#18273F #3F183B #3F3018 #183F1D
square
#18273F #3F183B #3F3018 #183F1D
split-complementary
#18273F #3F1D18 #3B3F18
monochromatic
#080E16 #080E16 #18273F #29426B #3A5E98

Accessibility & contrast

On white

14.99
#18273F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18273F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18273F#FFFFFF#000000##FFFFFF
##18273F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#032C30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18273f;
/* rgb */ color: rgb(24, 39, 63);
/* oklch */ color: oklch(27.2% 0.049 259.5);
Tailwind
colors: {
  custom: {
    50: '#586074',
    500: '#18273f',
    950: '#000000',
  },
}
SCSS
$custom: #18273f;
$custom-light: #586074;
$custom-dark: #000000;
JSON
{
  "hex": "#18273f",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 63
  },
  "hsl": {
    "h": 216.923,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27221,
    "c": 0.04938,
    "h": 259.5
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#18273F
secondary
#75603D
accent
#A353D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #18273F

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

Preview Lab → · Contrast checker → · Palette generator →

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