#18283F#18283F

#18283F is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.5% C 0.048 H 257.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#18283F
RGBrgb(24, 40, 63)
HSLhsl(215, 45%, 17%)
HSVhsv(215, 62%, 25%)
CMYKcmyk(61.9%, 36.5%, 0%, 75.3%)
CIE-LABlab(15.85, 1.48, -16.67)
CIE-LCHlch(15.85, 16.74, 275.08°)
OKLaboklab(27.49% -0.0104 -0.047)
OKLCHoklch(27.49% 0.048 257.5)
XYZxyz(2.0324, 2.0705, 4.9942)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18283F #3F2F18
analogous
#183C3F #18283F #1C183F
triadic
#18283F #3F1828 #283F18
tetradic
#18283F #3F183C #3F2F18 #183F1C
square
#18283F #3F183C #3F2F18 #183F1C
split-complementary
#18283F #3F1C18 #3C3F18
monochromatic
#080E16 #080E16 #18283F #29446B #3A6098

Accessibility & contrast

On white

14.85
#18283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#18283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18283F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18283F#FFFFFF#000000##FFFFFF
##18283F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#1A263F
Tritanopia (blue-blind)
#032D30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #18283f;
/* rgb */ color: rgb(24, 40, 63);
/* oklch */ color: oklch(27.5% 0.048 257.5);
Tailwind
colors: {
  custom: {
    50: '#586174',
    500: '#18283f',
    950: '#000000',
  },
}
SCSS
$custom: #18283f;
$custom-light: #586174;
$custom-dark: #000000;
JSON
{
  "hex": "#18283f",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 215.385,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2749,
    "c": 0.04811,
    "h": 257.5
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#18283F
secondary
#755E3D
accent
#A053D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #18283F

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

Preview Lab → · Contrast checker → · Palette generator →

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