#181758#181758

#181758 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.113 H 275.6°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#181758
RGBrgb(24, 23, 88)
HSLhsl(241, 59%, 22%)
HSVhsv(241, 74%, 35%)
CMYKcmyk(72.7%, 73.9%, 0%, 65.5%)
CIE-LABlab(12.68, 23.96, -38.93)
CIE-LCHlch(12.68, 45.71, 301.61°)
OKLaboklab(25.73% 0.0111 -0.1124)
OKLCHoklch(25.73% 0.113 275.6)
XYZxyz(2.4440, 1.5113, 9.3936)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181758 #575817
analogous
#173758 #181758 #391758
triadic
#181758 #581817 #175818
tetradic
#181758 #581737 #575817 #175839
square
#181758 #581737 #575817 #175839
split-complementary
#181758 #583917 #375817
monochromatic
#070618 #0B0A27 #181758 #252489 #3230B9

Accessibility & contrast

On white

16.12
#181758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181758
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181758#FFFFFF#000000##FFFFFF
##1817581.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181758;
/* rgb */ color: rgb(24, 23, 88);
/* oklch */ color: oklch(25.7% 0.113 275.6);
Tailwind
colors: {
  custom: {
    50: '#5f5488',
    500: '#181758',
    950: '#000000',
  },
}
SCSS
$custom: #181758;
$custom-light: #5f5488;
$custom-dark: #000000;
JSON
{
  "hex": "#181758",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 240.923,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.11296,
    "h": 275.6
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#181758
secondary
#8E8F3C
accent
#E246DF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #181758

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

Preview Lab → · Contrast checker → · Palette generator →

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