#18358B#18358B

#18358B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.147 H 265.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#18358B
RGBrgb(24, 53, 139)
HSLhsl(225, 71%, 32%)
HSVhsv(225, 83%, 55%)
CMYKcmyk(82.7%, 61.9%, 0%, 45.5%)
CIE-LABlab(25.57, 23.24, -50.75)
CIE-LCHlch(25.57, 55.82, 294.60°)
OKLaboklab(36.71% -0.0121 -0.1468)
OKLCHoklch(36.71% 0.147 265.3)
XYZxyz(6.3083, 4.6037, 24.9772)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18358B #8B6E18
analogous
#186E8B #18358B #35188B
triadic
#18358B #8B1835 #358B18
tetradic
#18358B #8B186E #8B6E18 #188B35
square
#18358B #8B186E #8B6E18 #188B35
split-complementary
#18358B #8B3518 #6E8B18
monochromatic
#060D23 #0F2157 #18358B #2149BF #3F67DE

Accessibility & contrast

On white

10.93
#18358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#18358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18358B
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18358B#FFFFFF#000000##FFFFFF
##18358B1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18358b;
/* rgb */ color: rgb(24, 53, 139);
/* oklch */ color: oklch(36.7% 0.147 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a6bae',
    500: '#18358b',
    950: '#000000',
  },
}
SCSS
$custom: #18358b;
$custom-light: #6a6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#18358b",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 224.87,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36709,
    "c": 0.14727,
    "h": 265.3
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#18358B
secondary
#BE9F40
accent
#C03AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #18358B

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

Preview Lab → · Contrast checker → · Palette generator →

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