#18348F#18348F

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

Color values

HEX#18348F
RGBrgb(24, 52, 143)
HSLhsl(226, 71%, 33%)
HSVhsv(226, 83%, 56%)
CMYKcmyk(83.2%, 63.6%, 0%, 43.9%)
CIE-LABlab(25.66, 25.53, -53.09)
CIE-LCHlch(25.66, 58.91, 295.68°)
OKLaboklab(36.88% -0.0114 -0.1536)
OKLCHoklch(36.88% 0.154 265.7)
XYZxyz(6.5609, 4.6326, 26.5297)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18348F #8F7318
analogous
#18708F #18348F #37188F
triadic
#18348F #8F1834 #348F18
tetradic
#18348F #8F1870 #8F7318 #188F37
square
#18348F #8F1870 #8F7318 #188F37
split-complementary
#18348F #8F3718 #708F18
monochromatic
#060E26 #0F215B #18348F #2147C3 #4267DF

Accessibility & contrast

On white

10.90
#18348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#18348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18348F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18348F#FFFFFF#000000##FFFFFF
##18348F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18348f;
/* rgb */ color: rgb(24, 52, 143);
/* oklch */ color: oklch(36.9% 0.154 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6bb1',
    500: '#18348f',
    950: '#000000',
  },
}
SCSS
$custom: #18348f;
$custom-light: #6b6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#18348f",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 225.882,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36884,
    "c": 0.15406,
    "h": 265.7
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#18348F
secondary
#C0A343
accent
#C43AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #18348F

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

Preview Lab → · Contrast checker → · Palette generator →

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