#181390#181390

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

Color values

HEX#181390
RGBrgb(24, 19, 144)
HSLhsl(242, 77%, 32%)
HSVhsv(242, 87%, 56%)
CMYKcmyk(83.3%, 86.8%, 0%, 43.5%)
CIE-LABlab(18.68, 45.55, -65.23)
CIE-LCHlch(18.68, 79.56, 304.93°)
OKLaboklab(31.92% 0.0003 -0.1887)
OKLCHoklch(31.92% 0.189 270.1)
XYZxyz(5.6419, 2.6729, 26.5987)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181390 #8B9013
analogous
#134D90 #181390 #571390
triadic
#181390 #901813 #139018
tetradic
#181390 #90134D #8B9013 #139057
square
#181390 #90134D #8B9013 #139057
split-complementary
#181390 #905713 #4D9013
monochromatic
#060524 #0F0C5A #181390 #211AC6 #3F39E5

Accessibility & contrast

On white

13.68
#181390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181390
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181390#FFFFFF#000000##FFFFFF
##1813901.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181390;
/* rgb */ color: rgb(24, 19, 144);
/* oklch */ color: oklch(31.9% 0.189 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f56b2',
    500: '#181390',
    950: '#000000',
  },
}
SCSS
$custom: #181390;
$custom-light: #6f56b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181390",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 242.4,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31915,
    "c": 0.18874,
    "h": 270.1
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#181390
secondary
#BEC43B
accent
#F335EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #181390

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

Preview Lab → · Contrast checker → · Palette generator →

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