#181058#181058

#181058 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.121 H 277.6°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#181058
RGBrgb(24, 16, 88)
HSLhsl(247, 69%, 20%)
HSVhsv(247, 82%, 35%)
CMYKcmyk(72.7%, 81.8%, 0%, 65.5%)
CIE-LABlab(11.06, 28.47, -41.59)
CIE-LCHlch(11.06, 50.40, 304.39°)
OKLaboklab(24.57% 0.0161 -0.1202)
OKLCHoklch(24.57% 0.121 277.6)
XYZxyz(2.3229, 1.2692, 9.3532)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181058 #505810
analogous
#102C58 #181058 #3C1058
triadic
#181058 #581810 #105818
tetradic
#181058 #58102C #505810 #10583C
square
#181058 #58102C #505810 #10583C
split-complementary
#181058 #583C10 #2C5810
monochromatic
#07051A #0A0724 #181058 #26198C #3423C0

Accessibility & contrast

On white

16.75
#181058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181058
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181058#FFFFFF#000000##FFFFFF
##1810581.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181058;
/* rgb */ color: rgb(24, 16, 88);
/* oklch */ color: oklch(24.6% 0.121 277.6);
Tailwind
colors: {
  custom: {
    50: '#605088',
    500: '#181058',
    950: '#000000',
  },
}
SCSS
$custom: #181058;
$custom-light: #605088;
$custom-dark: #000000;
JSON
{
  "hex": "#181058",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 246.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24571,
    "c": 0.12124,
    "h": 277.6
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#181058
secondary
#879132
accent
#EC3CD8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #181058

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

Preview Lab → · Contrast checker → · Palette generator →

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