#18358E#18358E

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

Color values

HEX#18358E
RGBrgb(24, 53, 142)
HSLhsl(225, 71%, 33%)
HSVhsv(225, 83%, 56%)
CMYKcmyk(83.1%, 62.7%, 0%, 44.3%)
CIE-LABlab(25.84, 24.44, -52.18)
CIE-LCHlch(25.84, 57.62, 295.10°)
OKLaboklab(36.99% -0.012 -0.1509)
OKLCHoklch(36.99% 0.151 265.4)
XYZxyz(6.5306, 4.6926, 26.1475)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18358E #8E7118
analogous
#18708E #18358E #36188E
triadic
#18358E #8E1835 #358E18
tetradic
#18358E #8E1870 #8E7118 #188E36
square
#18358E #8E1870 #8E7118 #188E36
split-complementary
#18358E #8E3618 #708E18
monochromatic
#060E25 #0F215A #18358E #2149C2 #4168DF

Accessibility & contrast

On white

10.83
#18358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#18358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18358E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18358E#FFFFFF#000000##FFFFFF
##18358E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18358e;
/* rgb */ color: rgb(24, 53, 142);
/* oklch */ color: oklch(37.0% 0.151 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6bb0',
    500: '#18358e',
    950: '#000000',
  },
}
SCSS
$custom: #18358e;
$custom-light: #6b6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#18358e",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 225.254,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36989,
    "c": 0.15143,
    "h": 265.4
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#18358E
secondary
#C0A142
accent
#C23AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #18358E

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

Preview Lab → · Contrast checker → · Palette generator →

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