#18348E#18348E

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

Color values

HEX#18348E
RGBrgb(24, 52, 142)
HSLhsl(226, 71%, 33%)
HSVhsv(226, 83%, 56%)
CMYKcmyk(83.1%, 63.4%, 0%, 44.3%)
CIE-LABlab(25.57, 25.13, -52.62)
CIE-LCHlch(25.57, 58.31, 295.53°)
OKLaboklab(36.79% -0.0114 -0.1523)
OKLCHoklch(36.79% 0.153 265.7)
XYZxyz(6.4854, 4.6024, 26.1325)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18348E #8E7218
analogous
#186F8E #18348E #37188E
triadic
#18348E #8E1834 #348E18
tetradic
#18348E #8E186F #8E7218 #188E37
square
#18348E #8E186F #8E7218 #188E37
split-complementary
#18348E #8E3718 #6F8E18
monochromatic
#060E25 #0F215A #18348E #2147C2 #4167DF

Accessibility & contrast

On white

10.93
#18348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#18348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18348E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18348E#FFFFFF#000000##FFFFFF
##18348E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18348e;
/* rgb */ color: rgb(24, 52, 142);
/* oklch */ color: oklch(36.8% 0.153 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b6bb0',
    500: '#18348e',
    950: '#000000',
  },
}
SCSS
$custom: #18348e;
$custom-light: #6b6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#18348e",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 225.763,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36789,
    "c": 0.15269,
    "h": 265.7
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#18348E
secondary
#C0A242
accent
#C33AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #18348E

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

Preview Lab → · Contrast checker → · Palette generator →

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