#182138#182138

#182138 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.2% C 0.046 H 266.9°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#182138
RGBrgb(24, 33, 56)
HSLhsl(223, 40%, 16%)
HSVhsv(223, 57%, 22%)
CMYKcmyk(57.1%, 41.1%, 0%, 78%)
CIE-LABlab(13.03, 3.92, -16.20)
CIE-LCHlch(13.03, 16.66, 283.61°)
OKLaboklab(25.16% -0.0025 -0.0456)
OKLCHoklch(25.16% 0.046 266.9)
XYZxyz(1.6341, 1.5673, 3.9570)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182138 #382F18
analogous
#183138 #182138 #1F1838
triadic
#182138 #381821 #213818
tetradic
#182138 #381831 #382F18 #18381F
square
#182138 #381831 #382F18 #18381F
split-complementary
#182138 #381F18 #313818
monochromatic
#090D15 #090D15 #182138 #2A3A63 #3D538E

Accessibility & contrast

On white

15.99
#182138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#182138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182138
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182138#FFFFFF#000000##FFFFFF
##1821381.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#152037
Tritanopia (blue-blind)
#0B2629
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #182138;
/* rgb */ color: rgb(24, 33, 56);
/* oklch */ color: oklch(25.2% 0.046 266.9);
Tailwind
colors: {
  custom: {
    50: '#575b6e',
    500: '#182138',
    950: '#000000',
  },
}
SCSS
$custom: #182138;
$custom-light: #575b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#182138",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 223.125,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25159,
    "c": 0.0457,
    "h": 266.9
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#182138
secondary
#6E603E
accent
#AE58D0
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #182138

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

Preview Lab → · Contrast checker → · Palette generator →

#182138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva