#181462#181462

#181462 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.130 H 274.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#181462
RGBrgb(24, 20, 98)
HSLhsl(243, 66%, 23%)
HSVhsv(243, 80%, 38%)
CMYKcmyk(75.5%, 79.6%, 0%, 61.6%)
CIE-LABlab(13.08, 29.62, -44.96)
CIE-LCHlch(13.08, 53.84, 303.38°)
OKLaboklab(26.35% 0.0112 -0.13)
OKLCHoklch(26.35% 0.13 274.9)
XYZxyz(2.8307, 1.5761, 11.7079)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181462 #5E6214
analogous
#143762 #181462 #3F1462
triadic
#181462 #621814 #146218
tetradic
#181462 #621437 #5E6214 #14623F
square
#181462 #621437 #5E6214 #14623F
split-complementary
#181462 #623F14 #376214
monochromatic
#060519 #0C0A2F #181462 #241E95 #3129C8

Accessibility & contrast

On white

15.97
#181462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181462
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181462#FFFFFF#000000##FFFFFF
##1814621.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001E61
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181462;
/* rgb */ color: rgb(24, 20, 98);
/* oklch */ color: oklch(26.3% 0.130 274.9);
Tailwind
colors: {
  custom: {
    50: '#625390',
    500: '#181462',
    950: '#000000',
  },
}
SCSS
$custom: #181462;
$custom-light: #625390;
$custom-dark: #000000;
JSON
{
  "hex": "#181462",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 243.077,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26348,
    "c": 0.13049,
    "h": 274.9
  },
  "luminance": 0.01576
}

Semantic roles & 50–950 ramp

primary
#181462
secondary
#949938
accent
#E93FE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #181462

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

Preview Lab → · Contrast checker → · Palette generator →

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