#181253#181253

#181253 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.112 H 278.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#181253
RGBrgb(24, 18, 83)
HSLhsl(246, 64%, 20%)
HSVhsv(246, 78%, 33%)
CMYKcmyk(71.1%, 78.3%, 0%, 67.5%)
CIE-LABlab(10.93, 25.41, -38.40)
CIE-LCHlch(10.93, 46.05, 303.49°)
OKLaboklab(24.31% 0.0159 -0.1109)
OKLCHoklch(24.31% 0.112 278.2)
XYZxyz(2.1538, 1.2512, 8.3099)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181253 #4D5312
analogous
#122D53 #181253 #381253
triadic
#181253 #531812 #125318
tetradic
#181253 #53122D #4D5312 #125338
square
#181253 #53122D #4D5312 #125338
split-complementary
#181253 #533812 #2D5312
monochromatic
#070519 #090721 #181253 #271D85 #3528B8

Accessibility & contrast

On white

16.80
#181253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181253
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181253#FFFFFF#000000##FFFFFF
##1812531.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001B52
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181253;
/* rgb */ color: rgb(24, 18, 83);
/* oklch */ color: oklch(24.3% 0.112 278.2);
Tailwind
colors: {
  custom: {
    50: '#5e5184',
    500: '#181253',
    950: '#000000',
  },
}
SCSS
$custom: #181253;
$custom-light: #5e5184;
$custom-dark: #000000;
JSON
{
  "hex": "#181253",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 245.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24308,
    "c": 0.11201,
    "h": 278.2
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#181253
secondary
#848C35
accent
#E740D8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181253

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

Preview Lab → · Contrast checker → · Palette generator →

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