#181273#181273

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

Color values

HEX#181273
RGBrgb(24, 18, 115)
HSLhsl(244, 73%, 26%)
HSVhsv(244, 84%, 45%)
CMYKcmyk(79.1%, 84.3%, 0%, 54.9%)
CIE-LABlab(14.76, 36.67, -53.34)
CIE-LCHlch(14.76, 64.73, 304.51°)
OKLaboklab(28.13% 0.0079 -0.1543)
OKLCHoklch(28.13% 0.155 272.9)
XYZxyz(3.6865, 1.8642, 16.3819)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181273 #6D7312
analogous
#123C73 #181273 #481273
triadic
#181273 #731812 #127318
tetradic
#181273 #73123C #6D7312 #127348
square
#181273 #73123C #6D7312 #127348
split-complementary
#181273 #734812 #3C7312
monochromatic
#06041A #0D0A3E #181273 #231AA8 #2E23DD

Accessibility & contrast

On white

15.29
#181273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181273
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181273#FFFFFF#000000##FFFFFF
##1812731.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181273;
/* rgb */ color: rgb(24, 18, 115);
/* oklch */ color: oklch(28.1% 0.155 272.9);
Tailwind
colors: {
  custom: {
    50: '#67539c',
    500: '#181273',
    950: '#000000',
  },
}
SCSS
$custom: #181273;
$custom-light: #67539c;
$custom-dark: #000000;
JSON
{
  "hex": "#181273",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 243.711,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28128,
    "c": 0.15453,
    "h": 272.9
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#181273
secondary
#A3AA37
accent
#F038E4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181273

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

Preview Lab → · Contrast checker → · Palette generator →

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