#18153E#18153E

#18153E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.076 H 281.8°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#18153E
RGBrgb(24, 21, 62)
HSLhsl(244, 49%, 16%)
HSVhsv(244, 66%, 24%)
CMYKcmyk(61.3%, 66.1%, 0%, 75.7%)
CIE-LABlab(9.63, 15.35, -25.90)
CIE-LCHlch(9.63, 30.10, 300.65°)
OKLaboklab(22.72% 0.0155 -0.0742)
OKLCHoklch(22.72% 0.076 281.8)
XYZxyz(1.5141, 1.0782, 4.6848)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18153E #3B3E15
analogous
#15273E #18153E #2D153E
triadic
#18153E #3E1815 #153E18
tetradic
#18153E #3E1527 #3B3E15 #153E2D
square
#18153E #3E1527 #3B3E15 #153E2D
split-complementary
#18153E #3E2D15 #273E15
monochromatic
#090817 #090817 #18153E #2A246C #3B3499

Accessibility & contrast

On white

17.28
#18153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#18153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18153E
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18153E#FFFFFF#000000##FFFFFF
##18153E1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#081F27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #18153e;
/* rgb */ color: rgb(24, 21, 62);
/* oklch */ color: oklch(22.7% 0.076 281.8);
Tailwind
colors: {
  custom: {
    50: '#595274',
    500: '#18153e',
    950: '#000000',
  },
}
SCSS
$custom: #18153e;
$custom-light: #595274;
$custom-dark: #000000;
JSON
{
  "hex": "#18153e",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 244.39,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22719,
    "c": 0.07578,
    "h": 281.8
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#18153E
secondary
#717639
accent
#D94FCF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18153E

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

Preview Lab → · Contrast checker → · Palette generator →

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