#18347F#18347F

#18347F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.132 H 264.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#18347F
RGBrgb(24, 52, 127)
HSLhsl(224, 68%, 30%)
HSVhsv(224, 81%, 50%)
CMYKcmyk(81.1%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.26, 19.07, -45.39)
CIE-LCHlch(24.26, 49.23, 292.79°)
OKLaboklab(35.41% -0.0119 -0.131)
OKLCHoklch(35.41% 0.132 264.8)
XYZxyz(5.4341, 4.1819, 20.5953)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18347F #7F6318
analogous
#18687F #18347F #2F187F
triadic
#18347F #7F1834 #347F18
tetradic
#18347F #7F1868 #7F6318 #187F2F
square
#18347F #7F1868 #7F6318 #187F2F
split-complementary
#18347F #7F2F18 #687F18
monochromatic
#050B1A #0E1F4C #18347F #2249B2 #3864D9

Accessibility & contrast

On white

11.44
#18347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#18347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18347F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18347F#FFFFFF#000000##FFFFFF
##18347F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #18347f;
/* rgb */ color: rgb(24, 52, 127);
/* oklch */ color: oklch(35.4% 0.132 264.8);
Tailwind
colors: {
  custom: {
    50: '#676ba5',
    500: '#18347f',
    950: '#000000',
  },
}
SCSS
$custom: #18347f;
$custom-light: #676ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#18347f",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 223.689,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.13158,
    "h": 264.8
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#18347F
secondary
#B3943F
accent
#BC3DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18347F

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

Preview Lab → · Contrast checker → · Palette generator →

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