#182754#182754

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

Color values

HEX#182754
RGBrgb(24, 39, 84)
HSLhsl(225, 56%, 21%)
HSVhsv(225, 71%, 33%)
CMYKcmyk(71.4%, 53.6%, 0%, 67.1%)
CIE-LABlab(16.92, 10.71, -29.34)
CIE-LCHlch(16.92, 31.23, 290.06°)
OKLaboklab(28.76% -0.0042 -0.0841)
OKLCHoklch(28.76% 0.084 267.1)
XYZxyz(2.7019, 2.2851, 8.6845)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182754 #544518
analogous
#184554 #182754 #271854
triadic
#182754 #541827 #275418
tetradic
#182754 #541845 #544518 #185427
square
#182754 #541845 #544518 #185427
split-complementary
#182754 #542718 #455418
monochromatic
#070B18 #0A1124 #182754 #263D84 #3353B3

Accessibility & contrast

On white

14.41
#182754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182754
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182754#FFFFFF#000000##FFFFFF
##1827541.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2D56
Deuteranopia (green-blind)
#022753
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182754;
/* rgb */ color: rgb(24, 39, 84);
/* oklch */ color: oklch(28.8% 0.084 267.1);
Tailwind
colors: {
  custom: {
    50: '#5d6084',
    500: '#182754',
    950: '#000000',
  },
}
SCSS
$custom: #182754;
$custom-light: #5d6084;
$custom-dark: #000000;
JSON
{
  "hex": "#182754",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 225,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28763,
    "c": 0.08418,
    "h": 267.1
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#182754
secondary
#8B773D
accent
#B949DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #182754

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

Preview Lab → · Contrast checker → · Palette generator →

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