#18348C#18348C

#18348C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.150 H 265.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#18348C
RGBrgb(24, 52, 140)
HSLhsl(226, 71%, 32%)
HSVhsv(226, 83%, 55%)
CMYKcmyk(82.9%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.39, 24.33, -51.67)
CIE-LCHlch(25.39, 57.11, 295.22°)
OKLaboklab(36.6% -0.0114 -0.1495)
OKLCHoklch(36.6% 0.15 265.6)
XYZxyz(6.3366, 4.5429, 25.3488)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18348C #8C7018
analogous
#186E8C #18348C #36188C
triadic
#18348C #8C1834 #348C18
tetradic
#18348C #8C186E #8C7018 #188C36
square
#18348C #8C186E #8C7018 #188C36
split-complementary
#18348C #8C3618 #6E8C18
monochromatic
#060D24 #0F2158 #18348C #2147C0 #4066DE

Accessibility & contrast

On white

11.00
#18348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18348C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18348C#FFFFFF#000000##FFFFFF
##18348C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18348c;
/* rgb */ color: rgb(24, 52, 140);
/* oklch */ color: oklch(36.6% 0.150 265.6);
Tailwind
colors: {
  custom: {
    50: '#6b6bae',
    500: '#18348c',
    950: '#000000',
  },
}
SCSS
$custom: #18348c;
$custom-light: #6b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#18348c",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 225.517,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.14993,
    "h": 265.6
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#18348C
secondary
#BFA041
accent
#C23AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #18348C

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

Preview Lab → · Contrast checker → · Palette generator →

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