#18348D#18348D

#18348D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.151 H 265.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#18348D
RGBrgb(24, 52, 141)
HSLhsl(226, 71%, 32%)
HSVhsv(226, 83%, 55%)
CMYKcmyk(83%, 63.1%, 0%, 44.7%)
CIE-LABlab(25.48, 24.73, -52.15)
CIE-LCHlch(25.48, 57.71, 295.38°)
OKLaboklab(36.69% -0.0114 -0.1509)
OKLCHoklch(36.69% 0.151 265.7)
XYZxyz(6.4107, 4.5725, 25.7388)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18348D #8D7118
analogous
#186F8D #18348D #37188D
triadic
#18348D #8D1834 #348D18
tetradic
#18348D #8D186F #8D7118 #188D37
square
#18348D #8D186F #8D7118 #188D37
split-complementary
#18348D #8D3718 #6F8D18
monochromatic
#060D24 #0F2159 #18348D #2147C1 #4167DF

Accessibility & contrast

On white

10.97
#18348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#18348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18348D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18348D#FFFFFF#000000##FFFFFF
##18348D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18348d;
/* rgb */ color: rgb(24, 52, 141);
/* oklch */ color: oklch(36.7% 0.151 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6baf',
    500: '#18348d',
    950: '#000000',
  },
}
SCSS
$custom: #18348d;
$custom-light: #6b6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#18348d",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 225.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.15131,
    "h": 265.7
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#18348D
secondary
#BFA142
accent
#C33AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #18348D

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

Preview Lab → · Contrast checker → · Palette generator →

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