#18357E#18357E

#18357E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.129 H 264.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#18357E
RGBrgb(24, 53, 126)
HSLhsl(223, 68%, 29%)
HSVhsv(223, 81%, 49%)
CMYKcmyk(81%, 57.9%, 0%, 50.6%)
CIE-LABlab(24.47, 17.95, -44.42)
CIE-LCHlch(24.47, 47.91, 292.00°)
OKLaboklab(35.53% -0.0127 -0.1282)
OKLCHoklch(35.53% 0.129 264.4)
XYZxyz(5.4143, 4.2461, 20.2688)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18357E #7E6118
analogous
#18687E #18357E #2E187E
triadic
#18357E #7E1835 #357E18
tetradic
#18357E #7E1868 #7E6118 #187E2E
square
#18357E #7E1868 #7E6118 #187E2E
split-complementary
#18357E #7E2E18 #687E18
monochromatic
#050B1A #0E1F4B #18357E #224BB1 #3765D9

Accessibility & contrast

On white

11.36
#18357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#18357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18357E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18357E#FFFFFF#000000##FFFFFF
##18357E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18357e;
/* rgb */ color: rgb(24, 53, 126);
/* oklch */ color: oklch(35.5% 0.129 264.4);
Tailwind
colors: {
  custom: {
    50: '#676ba4',
    500: '#18357e',
    950: '#000000',
  },
}
SCSS
$custom: #18357e;
$custom-light: #676ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#18357e",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 222.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35535,
    "c": 0.12881,
    "h": 264.4
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18357E

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

Preview Lab → · Contrast checker → · Palette generator →

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