#181290#181290

#181290 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.189 H 270.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#181290
RGBrgb(24, 18, 144)
HSLhsl(243, 78%, 32%)
HSVhsv(243, 88%, 56%)
CMYKcmyk(83.3%, 87.5%, 0%, 43.5%)
CIE-LABlab(18.54, 45.98, -65.47)
CIE-LCHlch(18.54, 80.00, 305.08°)
OKLaboklab(31.82% 0.0004 -0.1894)
OKLCHoklch(31.82% 0.189 270.1)
XYZxyz(5.6253, 2.6398, 26.5932)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181290 #8A9012
analogous
#124B90 #181290 #571290
triadic
#181290 #901812 #129018
tetradic
#181290 #90124B #8A9012 #129057
square
#181290 #90124B #8A9012 #129057
split-complementary
#181290 #905712 #4B9012
monochromatic
#060423 #0F0B5A #181290 #2119C6 #3F36E6

Accessibility & contrast

On white

13.74
#181290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#181290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181290
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181290#FFFFFF#000000##FFFFFF
##1812901.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003393
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #181290;
/* rgb */ color: rgb(24, 18, 144);
/* oklch */ color: oklch(31.8% 0.189 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f55b2',
    500: '#181290',
    950: '#000000',
  },
}
SCSS
$custom: #181290;
$custom-light: #6f55b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181290",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 242.857,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31816,
    "c": 0.18941,
    "h": 270.1
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#181290
secondary
#BDC43A
accent
#F434EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #181290

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

Preview Lab → · Contrast checker → · Palette generator →

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