#182750#182750

#182750 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.078 H 266.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#182750
RGBrgb(24, 39, 80)
HSLhsl(224, 54%, 20%)
HSVhsv(224, 70%, 31%)
CMYKcmyk(70%, 51.2%, 0%, 68.6%)
CIE-LABlab(16.62, 9.06, -27.11)
CIE-LCHlch(16.62, 28.59, 288.48°)
OKLaboklab(28.44% -0.0048 -0.0775)
OKLCHoklch(28.44% 0.078 266.4)
XYZxyz(2.5497, 2.2242, 7.8828)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182750 #504118
analogous
#184350 #182750 #251850
triadic
#182750 #501827 #275018
tetradic
#182750 #501843 #504118 #185025
square
#182750 #501843 #504118 #185025
split-complementary
#182750 #502518 #435018
monochromatic
#070B18 #0A1021 #182750 #263E7F #3455AE

Accessibility & contrast

On white

14.53
#182750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#182750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182750
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182750#FFFFFF#000000##FFFFFF
##1827501.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#08274F
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182750;
/* rgb */ color: rgb(24, 39, 80);
/* oklch */ color: oklch(28.4% 0.078 266.4);
Tailwind
colors: {
  custom: {
    50: '#5c6081',
    500: '#182750',
    950: '#000000',
  },
}
SCSS
$custom: #182750;
$custom-light: #5c6081;
$custom-dark: #000000;
JSON
{
  "hex": "#182750",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 80
  },
  "hsl": {
    "h": 223.929,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28443,
    "c": 0.07767,
    "h": 266.4
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#182750
secondary
#87733D
accent
#B64BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #182750

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

Preview Lab → · Contrast checker → · Palette generator →

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