#18258D#18258D

#18258D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.169 H 268.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#18258D
RGBrgb(24, 37, 141)
HSLhsl(233, 71%, 32%)
HSVhsv(233, 83%, 55%)
CMYKcmyk(83%, 73.8%, 0%, 44.7%)
CIE-LABlab(21.73, 34.74, -58.32)
CIE-LCHlch(21.73, 67.88, 300.78°)
OKLaboklab(33.95% -0.004 -0.169)
OKLCHoklch(33.95% 0.169 268.6)
XYZxyz(5.8443, 3.4397, 25.5500)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18258D #8D8018
analogous
#18608D #18258D #45188D
triadic
#18258D #8D1825 #258D18
tetradic
#18258D #8D1860 #8D8018 #188D45
square
#18258D #8D1860 #8D8018 #188D45
split-complementary
#18258D #8D4518 #608D18
monochromatic
#060A24 #0F1759 #18258D #2133C1 #4152DF

Accessibility & contrast

On white

12.44
#18258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#18258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18258D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18258D#FFFFFF#000000##FFFFFF
##18258D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #18258d;
/* rgb */ color: rgb(24, 37, 141);
/* oklch */ color: oklch(33.9% 0.169 268.6);
Tailwind
colors: {
  custom: {
    50: '#6c60af',
    500: '#18258d',
    950: '#000000',
  },
}
SCSS
$custom: #18258d;
$custom-light: #6c60af;
$custom-dark: #000000;
JSON
{
  "hex": "#18258d",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 233.333,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.16903,
    "h": 268.6
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#18258D
secondary
#BFB142
accent
#DA3AEE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #18258D

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

Preview Lab → · Contrast checker → · Palette generator →

#18258D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva