#181374#181374

#181374 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.155 H 272.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#181374
RGBrgb(24, 19, 116)
HSLhsl(243, 72%, 26%)
HSVhsv(243, 84%, 45%)
CMYKcmyk(79.3%, 83.6%, 0%, 54.5%)
CIE-LABlab(15.06, 36.48, -53.48)
CIE-LCHlch(15.06, 64.74, 304.30°)
OKLaboklab(28.38% 0.0073 -0.1547)
OKLCHoklch(28.38% 0.155 272.7)
XYZxyz(3.7609, 1.9205, 16.6921)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181374 #6F7413
analogous
#133F74 #181374 #491374
triadic
#181374 #741813 #137418
tetradic
#181374 #74133F #6F7413 #137449
square
#181374 #74133F #6F7413 #137449
split-complementary
#181374 #744913 #3F7413
monochromatic
#05041A #0D0A3F #181374 #231CA9 #2F26DB

Accessibility & contrast

On white

15.17
#181374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181374
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181374#FFFFFF#000000##FFFFFF
##1813741.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181374;
/* rgb */ color: rgb(24, 19, 116);
/* oklch */ color: oklch(28.4% 0.155 272.7);
Tailwind
colors: {
  custom: {
    50: '#67539d',
    500: '#181374',
    950: '#000000',
  },
}
SCSS
$custom: #181374;
$custom-light: #67539d;
$custom-dark: #000000;
JSON
{
  "hex": "#181374",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 243.093,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.15492,
    "h": 272.7
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#181374
secondary
#A5AA38
accent
#EF39E5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181374

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

Preview Lab → · Contrast checker → · Palette generator →

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