#18347B#18347B

#18347B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.126 H 264.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#18347B
RGBrgb(24, 52, 123)
HSLhsl(223, 67%, 29%)
HSVhsv(223, 80%, 48%)
CMYKcmyk(80.5%, 57.7%, 0%, 51.8%)
CIE-LABlab(23.93, 17.43, -43.40)
CIE-LCHlch(23.93, 46.77, 291.88°)
OKLaboklab(35.05% -0.0121 -0.1252)
OKLCHoklch(35.05% 0.126 264.5)
XYZxyz(5.1786, 4.0796, 19.2496)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18347B #7B5F18
analogous
#18667B #18347B #2E187B
triadic
#18347B #7B1834 #347B18
tetradic
#18347B #7B1866 #7B5F18 #187B2E
square
#18347B #7B1866 #7B5F18 #187B2E
split-complementary
#18347B #7B2E18 #667B18
monochromatic
#050B1A #0E1E48 #18347B #224AAE #3664D8

Accessibility & contrast

On white

11.56
#18347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#18347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18347B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18347B#FFFFFF#000000##FFFFFF
##18347B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18347b;
/* rgb */ color: rgb(24, 52, 123);
/* oklch */ color: oklch(35.1% 0.126 264.5);
Tailwind
colors: {
  custom: {
    50: '#666aa2',
    500: '#18347b',
    950: '#000000',
  },
}
SCSS
$custom: #18347b;
$custom-light: #666aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#18347b",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 223.03,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.1258,
    "h": 264.5
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18347B

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

Preview Lab → · Contrast checker → · Palette generator →

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