#18347A#18347A

#18347A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.0% C 0.124 H 264.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#18347A
RGBrgb(24, 52, 122)
HSLhsl(223, 67%, 29%)
HSVhsv(223, 80%, 48%)
CMYKcmyk(80.3%, 57.4%, 0%, 52.2%)
CIE-LABlab(23.85, 17.02, -42.90)
CIE-LCHlch(23.85, 46.15, 291.63°)
OKLaboklab(34.97% -0.0122 -0.1237)
OKLCHoklch(34.97% 0.124 264.4)
XYZxyz(5.1163, 4.0547, 18.9216)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18347A #7A5E18
analogous
#18657A #18347A #2D187A
triadic
#18347A #7A1834 #347A18
tetradic
#18347A #7A1865 #7A5E18 #187A2D
square
#18347A #7A1865 #7A5E18 #187A2D
split-complementary
#18347A #7A2D18 #657A18
monochromatic
#050B1A #0E1E47 #18347A #224AAD #3563D7

Accessibility & contrast

On white

11.60
#18347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#18347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18347A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18347A#FFFFFF#000000##FFFFFF
##18347A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18347a;
/* rgb */ color: rgb(24, 52, 122);
/* oklch */ color: oklch(35.0% 0.124 264.4);
Tailwind
colors: {
  custom: {
    50: '#666aa1',
    500: '#18347a',
    950: '#000000',
  },
}
SCSS
$custom: #18347a;
$custom-light: #666aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#18347a",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 222.857,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.12433,
    "h": 264.4
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#18347A
secondary
#AF8F3F
accent
#B93EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18347A

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

Preview Lab → · Contrast checker → · Palette generator →

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