#18348A#18348A

#18348A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.147 H 265.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#18348A
RGBrgb(24, 52, 138)
HSLhsl(225, 70%, 32%)
HSVhsv(225, 83%, 54%)
CMYKcmyk(82.6%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.21, 23.53, -50.72)
CIE-LCHlch(25.21, 55.91, 294.89°)
OKLaboklab(36.41% -0.0115 -0.1467)
OKLCHoklch(36.41% 0.147 265.5)
XYZxyz(6.1905, 4.4844, 24.5791)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18348A #8A6E18
analogous
#186D8A #18348A #35188A
triadic
#18348A #8A1834 #348A18
tetradic
#18348A #8A186D #8A6E18 #188A35
square
#18348A #8A186D #8A6E18 #188A35
split-complementary
#18348A #8A3518 #6D8A18
monochromatic
#060D22 #0F2056 #18348A #2148BE #3F66DE

Accessibility & contrast

On white

11.07
#18348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#18348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18348A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18348A#FFFFFF#000000##FFFFFF
##18348A1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #18348a;
/* rgb */ color: rgb(24, 52, 138);
/* oklch */ color: oklch(36.4% 0.147 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a6bad',
    500: '#18348a',
    950: '#000000',
  },
}
SCSS
$custom: #18348a;
$custom-light: #6a6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#18348a",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 225.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36412,
    "c": 0.14715,
    "h": 265.5
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#18348A
secondary
#BD9F40
accent
#C13BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #18348A

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

Preview Lab → · Contrast checker → · Palette generator →

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