#181250#181250

#181250 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.108 H 278.8°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#181250
RGBrgb(24, 18, 80)
HSLhsl(246, 63%, 19%)
HSVhsv(246, 78%, 31%)
CMYKcmyk(70%, 77.5%, 0%, 68.6%)
CIE-LABlab(10.60, 24.31, -36.89)
CIE-LCHlch(10.60, 44.18, 303.38°)
OKLaboklab(23.97% 0.0165 -0.1064)
OKLCHoklch(23.97% 0.108 278.8)
XYZxyz(2.0405, 1.2058, 7.7131)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181250 #4A5012
analogous
#122B50 #181250 #371250
triadic
#181250 #501812 #125018
tetradic
#181250 #50122B #4A5012 #125037
square
#181250 #50122B #4A5012 #125037
split-complementary
#181250 #503712 #2B5012
monochromatic
#070619 #09071E #181250 #271D82 #3628B4

Accessibility & contrast

On white

16.92
#181250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181250
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181250#FFFFFF#000000##FFFFFF
##1812501.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181250;
/* rgb */ color: rgb(24, 18, 80);
/* oklch */ color: oklch(24.0% 0.108 278.8);
Tailwind
colors: {
  custom: {
    50: '#5e5082',
    500: '#181250',
    950: '#000000',
  },
}
SCSS
$custom: #181250;
$custom-light: #5e5082;
$custom-dark: #000000;
JSON
{
  "hex": "#181250",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 245.806,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23974,
    "c": 0.10773,
    "h": 278.8
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#181250
secondary
#818935
accent
#E641D6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #181250

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

Preview Lab → · Contrast checker → · Palette generator →

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