#18357D#18357D

#18357D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.127 H 264.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#18357D
RGBrgb(24, 53, 125)
HSLhsl(223, 68%, 29%)
HSVhsv(223, 81%, 49%)
CMYKcmyk(80.8%, 57.6%, 0%, 51%)
CIE-LABlab(24.39, 17.54, -43.92)
CIE-LCHlch(24.39, 47.30, 291.77°)
OKLaboklab(35.45% -0.0127 -0.1267)
OKLCHoklch(35.45% 0.127 264.3)
XYZxyz(5.3501, 4.2204, 19.9307)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18357D #7D6018
analogous
#18687D #18357D #2E187D
triadic
#18357D #7D1835 #357D18
tetradic
#18357D #7D1868 #7D6018 #187D2E
square
#18357D #7D1868 #7D6018 #187D2E
split-complementary
#18357D #7D2E18 #687D18
monochromatic
#050B1A #0E1F4A #18357D #224BB0 #3765D9

Accessibility & contrast

On white

11.39
#18357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#18357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18357D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18357D#FFFFFF#000000##FFFFFF
##18357D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18357d;
/* rgb */ color: rgb(24, 53, 125);
/* oklch */ color: oklch(35.4% 0.127 264.3);
Tailwind
colors: {
  custom: {
    50: '#666ba3',
    500: '#18357d',
    950: '#000000',
  },
}
SCSS
$custom: #18357d;
$custom-light: #666ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#18357d",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 222.772,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.12737,
    "h": 264.3
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#18357D
secondary
#B2913F
accent
#B93DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18357D

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

Preview Lab → · Contrast checker → · Palette generator →

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