#182955#182955

#182955 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.083 H 265.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#182955
RGBrgb(24, 41, 85)
HSLhsl(223, 56%, 21%)
HSVhsv(223, 72%, 33%)
CMYKcmyk(71.8%, 51.8%, 0%, 66.7%)
CIE-LABlab(17.63, 9.65, -28.87)
CIE-LCHlch(17.63, 30.44, 288.48°)
OKLaboklab(29.33% -0.0063 -0.0827)
OKLCHoklch(29.33% 0.083 265.7)
XYZxyz(2.8088, 2.4357, 8.9147)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182955 #554418
analogous
#184855 #182955 #261855
triadic
#182955 #551829 #295518
tetradic
#182955 #551848 #554418 #185526
square
#182955 #551848 #554418 #185526
split-complementary
#182955 #552618 #485518
monochromatic
#070C18 #0B1225 #182955 #254085 #3357B4

Accessibility & contrast

On white

14.12
#182955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#182955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182955
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182955#FFFFFF#000000##FFFFFF
##1829551.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E57
Deuteranopia (green-blind)
#062954
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182955;
/* rgb */ color: rgb(24, 41, 85);
/* oklch */ color: oklch(29.3% 0.083 265.7);
Tailwind
colors: {
  custom: {
    50: '#5d6285',
    500: '#182955',
    950: '#000000',
  },
}
SCSS
$custom: #182955;
$custom-light: #5d6285;
$custom-dark: #000000;
JSON
{
  "hex": "#182955",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 223.279,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29326,
    "c": 0.08291,
    "h": 265.7
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#182955
secondary
#8C763D
accent
#B549DF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182955

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

Preview Lab → · Contrast checker → · Palette generator →

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