#18347D#18347D

#18347D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.129 H 264.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#18347D
RGBrgb(24, 52, 125)
HSLhsl(223, 68%, 29%)
HSVhsv(223, 81%, 49%)
CMYKcmyk(80.8%, 58.4%, 0%, 51%)
CIE-LABlab(24.10, 18.25, -44.40)
CIE-LCHlch(24.10, 48.00, 292.34°)
OKLaboklab(35.23% -0.012 -0.1281)
OKLCHoklch(35.23% 0.129 264.7)
XYZxyz(5.3050, 4.1302, 19.9157)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18347D #7D6118
analogous
#18677D #18347D #2F187D
triadic
#18347D #7D1834 #347D18
tetradic
#18347D #7D1867 #7D6118 #187D2F
square
#18347D #7D1867 #7D6118 #187D2F
split-complementary
#18347D #7D2F18 #677D18
monochromatic
#050B1A #0E1F4A #18347D #2249B0 #3764D9

Accessibility & contrast

On white

11.50
#18347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#18347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18347D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18347D#FFFFFF#000000##FFFFFF
##18347D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18347d;
/* rgb */ color: rgb(24, 52, 125);
/* oklch */ color: oklch(35.2% 0.129 264.7);
Tailwind
colors: {
  custom: {
    50: '#666ba3',
    500: '#18347d',
    950: '#000000',
  },
}
SCSS
$custom: #18347d;
$custom-light: #666ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#18347d",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 223.366,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.12869,
    "h": 264.7
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#18347D
secondary
#B2923F
accent
#BB3DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18347D

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

Preview Lab → · Contrast checker → · Palette generator →

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