#18349F#18349F

#18349F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.175 H 266.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#18349F
RGBrgb(24, 52, 159)
HSLhsl(228, 74%, 36%)
HSVhsv(228, 85%, 62%)
CMYKcmyk(84.9%, 67.3%, 0%, 37.6%)
CIE-LABlab(27.16, 31.79, -60.43)
CIE-LCHlch(27.16, 68.28, 297.75°)
OKLaboklab(38.45% -0.0118 -0.1751)
OKLCHoklch(38.45% 0.176 266.1)
XYZxyz(7.8605, 5.1524, 33.3744)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18349F #9F8318
analogous
#18779F #18349F #40189F
triadic
#18349F #9F1834 #349F18
tetradic
#18349F #9F1877 #9F8318 #189F40
square
#18349F #9F1877 #9F8318 #189F40
split-complementary
#18349F #9F4018 #779F18
monochromatic
#081135 #10236A #18349F #2045D4 #4D6DE4

Accessibility & contrast

On white

10.34
#18349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#18349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18349F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18349F#FFFFFF#000000##FFFFFF
##18349F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #18349f;
/* rgb */ color: rgb(24, 52, 159);
/* oklch */ color: oklch(38.5% 0.175 266.1);
Tailwind
colors: {
  custom: {
    50: '#706bbc',
    500: '#18349f',
    950: '#000000',
  },
}
SCSS
$custom: #18349f;
$custom-light: #706bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#18349f",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 227.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.1755,
    "h": 266.1
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#18349F
secondary
#C6AD4D
accent
#CA37F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #18349F

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

Preview Lab → · Contrast checker → · Palette generator →

#18349F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva