#18358D#18358D

#18358D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.150 H 265.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#18358D
RGBrgb(24, 53, 141)
HSLhsl(225, 71%, 32%)
HSVhsv(225, 83%, 55%)
CMYKcmyk(83%, 62.4%, 0%, 44.7%)
CIE-LABlab(25.75, 24.04, -51.70)
CIE-LCHlch(25.75, 57.02, 294.94°)
OKLaboklab(36.9% -0.012 -0.1496)
OKLCHoklch(36.9% 0.15 265.4)
XYZxyz(6.4558, 4.6627, 25.7539)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18358D #8D7018
analogous
#18708D #18358D #35188D
triadic
#18358D #8D1835 #358D18
tetradic
#18358D #8D1870 #8D7018 #188D35
square
#18358D #8D1870 #8D7018 #188D35
split-complementary
#18358D #8D3518 #708D18
monochromatic
#060E24 #0F2159 #18358D #2149C1 #4168DF

Accessibility & contrast

On white

10.87
#18358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#18358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18358D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18358D#FFFFFF#000000##FFFFFF
##18358D1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18358d;
/* rgb */ color: rgb(24, 53, 141);
/* oklch */ color: oklch(36.9% 0.150 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6baf',
    500: '#18358d',
    950: '#000000',
  },
}
SCSS
$custom: #18358d;
$custom-light: #6b6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#18358d",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 225.128,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.15004,
    "h": 265.4
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#18358D
secondary
#BFA042
accent
#C13AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #18358D

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

Preview Lab → · Contrast checker → · Palette generator →

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