#182755#182755

#182755 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.086 H 267.3°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#182755
RGBrgb(24, 39, 85)
HSLhsl(225, 56%, 21%)
HSVhsv(225, 72%, 33%)
CMYKcmyk(71.8%, 54.1%, 0%, 66.7%)
CIE-LABlab(16.99, 11.13, -29.89)
CIE-LCHlch(16.99, 31.89, 290.42°)
OKLaboklab(28.84% -0.0041 -0.0857)
OKLCHoklch(28.84% 0.086 267.3)
XYZxyz(2.7413, 2.3008, 8.8922)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182755 #554618
analogous
#184655 #182755 #281855
triadic
#182755 #551827 #275518
tetradic
#182755 #551846 #554618 #185528
square
#182755 #551846 #554618 #185528
split-complementary
#182755 #552818 #465518
monochromatic
#070B18 #0B1125 #182755 #253D85 #3353B4

Accessibility & contrast

On white

14.38
#182755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182755
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182755#FFFFFF#000000##FFFFFF
##1827551.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D57
Deuteranopia (green-blind)
#002754
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182755;
/* rgb */ color: rgb(24, 39, 85);
/* oklch */ color: oklch(28.8% 0.086 267.3);
Tailwind
colors: {
  custom: {
    50: '#5d6085',
    500: '#182755',
    950: '#000000',
  },
}
SCSS
$custom: #182755;
$custom-light: #5d6085;
$custom-dark: #000000;
JSON
{
  "hex": "#182755",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 85
  },
  "hsl": {
    "h": 225.246,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28844,
    "c": 0.08579,
    "h": 267.3
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#182755
secondary
#8C783D
accent
#BA49DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #182755

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

Preview Lab → · Contrast checker → · Palette generator →

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