#18357A#18357A

#18357A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.123 H 263.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#18357A
RGBrgb(24, 53, 122)
HSLhsl(222, 67%, 29%)
HSVhsv(222, 80%, 48%)
CMYKcmyk(80.3%, 56.6%, 0%, 52.2%)
CIE-LABlab(24.14, 16.30, -42.42)
CIE-LCHlch(24.14, 45.45, 291.02°)
OKLaboklab(35.19% -0.013 -0.1223)
OKLCHoklch(35.19% 0.123 263.9)
XYZxyz(5.1614, 4.1449, 18.9366)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18357A #7A5D18
analogous
#18667A #18357A #2C187A
triadic
#18357A #7A1835 #357A18
tetradic
#18357A #7A1866 #7A5D18 #187A2C
square
#18357A #7A1866 #7A5D18 #187A2C
split-complementary
#18357A #7A2C18 #667A18
monochromatic
#050B1A #0E1F47 #18357A #224BAD #3565D7

Accessibility & contrast

On white

11.48
#18357A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#18357A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18357A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18357A#FFFFFF#000000##FFFFFF
##18357A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18357a;
/* rgb */ color: rgb(24, 53, 122);
/* oklch */ color: oklch(35.2% 0.123 263.9);
Tailwind
colors: {
  custom: {
    50: '#666ba1',
    500: '#18357a',
    950: '#000000',
  },
}
SCSS
$custom: #18357a;
$custom-light: #666ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#18357a",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 122
  },
  "hsl": {
    "h": 222.245,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.123,
    "h": 263.9
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#18357A
secondary
#AF8E3F
accent
#B73EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18357A

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

Preview Lab → · Contrast checker → · Palette generator →

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