#18358A#18358A

#18358A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.146 H 265.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#18358A
RGBrgb(24, 53, 138)
HSLhsl(225, 70%, 32%)
HSVhsv(225, 83%, 54%)
CMYKcmyk(82.6%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.49, 22.84, -50.27)
CIE-LCHlch(25.49, 55.22, 294.43°)
OKLaboklab(36.62% -0.0121 -0.1454)
OKLCHoklch(36.62% 0.146 265.2)
XYZxyz(6.2356, 4.5746, 24.5942)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18358A #8A6D18
analogous
#186E8A #18358A #34188A
triadic
#18358A #8A1835 #358A18
tetradic
#18358A #8A186E #8A6D18 #188A34
square
#18358A #8A186E #8A6D18 #188A34
split-complementary
#18358A #8A3418 #6E8A18
monochromatic
#060D22 #0F2156 #18358A #2149BE #3F67DE

Accessibility & contrast

On white

10.97
#18358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18358A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18358A#FFFFFF#000000##FFFFFF
##18358A1.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18358a;
/* rgb */ color: rgb(24, 53, 138);
/* oklch */ color: oklch(36.6% 0.146 265.2);
Tailwind
colors: {
  custom: {
    50: '#6a6bad',
    500: '#18358a',
    950: '#000000',
  },
}
SCSS
$custom: #18358a;
$custom-light: #6a6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#18358a",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 224.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36616,
    "c": 0.14587,
    "h": 265.2
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#18358A
secondary
#BD9E40
accent
#C03BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #18358A

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

Preview Lab → · Contrast checker → · Palette generator →

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