#18357C#18357C

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

Color values

HEX#18357C
RGBrgb(24, 53, 124)
HSLhsl(223, 68%, 29%)
HSVhsv(223, 81%, 49%)
CMYKcmyk(80.6%, 57.3%, 0%, 51.4%)
CIE-LABlab(24.31, 17.13, -43.43)
CIE-LCHlch(24.31, 46.68, 291.53°)
OKLaboklab(35.36% -0.0128 -0.1253)
OKLCHoklch(35.36% 0.126 264.2)
XYZxyz(5.2866, 4.1950, 19.5960)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18357C #7C5F18
analogous
#18677C #18357C #2D187C
triadic
#18357C #7C1835 #357C18
tetradic
#18357C #7C1867 #7C5F18 #187C2D
square
#18357C #7C1867 #7C5F18 #187C2D
split-complementary
#18357C #7C2D18 #677C18
monochromatic
#050B1A #0E1F49 #18357C #224BAF #3665D8

Accessibility & contrast

On white

11.42
#18357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18357C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18357C#FFFFFF#000000##FFFFFF
##18357C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18357c;
/* rgb */ color: rgb(24, 53, 124);
/* oklch */ color: oklch(35.4% 0.126 264.2);
Tailwind
colors: {
  custom: {
    50: '#666ba2',
    500: '#18357c',
    950: '#000000',
  },
}
SCSS
$custom: #18357c;
$custom-light: #666ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#18357c",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 222.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35361,
    "c": 0.12591,
    "h": 264.2
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#18357C
secondary
#B1903F
accent
#B83DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18357C

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

Preview Lab → · Contrast checker → · Palette generator →

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