#182155#182155

#182155 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.095 H 271.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#182155
RGBrgb(24, 33, 85)
HSLhsl(231, 56%, 21%)
HSVhsv(231, 72%, 33%)
CMYKcmyk(71.8%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.16, 15.58, -32.86)
CIE-LCHlch(15.16, 36.36, 295.37°)
OKLaboklab(27.46% 0.0022 -0.0945)
OKLCHoklch(27.46% 0.095 271.3)
XYZxyz(2.5597, 1.9375, 8.8317)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182155 #554C18
analogous
#184055 #182155 #2E1855
triadic
#182155 #551821 #215518
tetradic
#182155 #551840 #554C18 #18552E
square
#182155 #551840 #554C18 #18552E
split-complementary
#182155 #552E18 #405518
monochromatic
#070918 #0B0E25 #182155 #253485 #3346B4

Accessibility & contrast

On white

15.13
#182155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#182155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182155
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182155#FFFFFF#000000##FFFFFF
##1821551.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #182155;
/* rgb */ color: rgb(24, 33, 85);
/* oklch */ color: oklch(27.5% 0.095 271.3);
Tailwind
colors: {
  custom: {
    50: '#5d5c85',
    500: '#182155',
    950: '#000000',
  },
}
SCSS
$custom: #182155;
$custom-light: #5d5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#182155",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 231.148,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27459,
    "c": 0.09455,
    "h": 271.3
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#182155
secondary
#8C803D
accent
#C949DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182155

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

Preview Lab → · Contrast checker → · Palette generator →

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