#18357F#18357F

#18357F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.6% C 0.130 H 264.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#18357F
RGBrgb(24, 53, 127)
HSLhsl(223, 68%, 30%)
HSVhsv(223, 81%, 50%)
CMYKcmyk(81.1%, 58.3%, 0%, 50.2%)
CIE-LABlab(24.55, 18.36, -44.92)
CIE-LCHlch(24.55, 48.53, 292.23°)
OKLaboklab(35.62% -0.0126 -0.1296)
OKLCHoklch(35.62% 0.13 264.4)
XYZxyz(5.4792, 4.2721, 20.6104)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18357F #7F6218
analogous
#18697F #18357F #2F187F
triadic
#18357F #7F1835 #357F18
tetradic
#18357F #7F1869 #7F6218 #187F2F
square
#18357F #7F1869 #7F6218 #187F2F
split-complementary
#18357F #7F2F18 #697F18
monochromatic
#050B1A #0E204C #18357F #224AB2 #3865D9

Accessibility & contrast

On white

11.32
#18357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18357F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18357F#FFFFFF#000000##FFFFFF
##18357F1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18357f;
/* rgb */ color: rgb(24, 53, 127);
/* oklch */ color: oklch(35.6% 0.130 264.4);
Tailwind
colors: {
  custom: {
    50: '#676ba5',
    500: '#18357f',
    950: '#000000',
  },
}
SCSS
$custom: #18357f;
$custom-light: #676ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#18357f",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 223.107,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.13026,
    "h": 264.4
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#18357F
secondary
#B3933F
accent
#BA3DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18357F

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

Preview Lab → · Contrast checker → · Palette generator →

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