#18347E#18347E

#18347E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.130 H 264.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#18347E
RGBrgb(24, 52, 126)
HSLhsl(224, 68%, 29%)
HSVhsv(224, 81%, 49%)
CMYKcmyk(81%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.18, 18.66, -44.89)
CIE-LCHlch(24.18, 48.62, 292.57°)
OKLaboklab(35.32% -0.0119 -0.1296)
OKLCHoklch(35.32% 0.13 264.7)
XYZxyz(5.3692, 4.1559, 20.2538)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18347E #7E6218
analogous
#18677E #18347E #2F187E
triadic
#18347E #7E1834 #347E18
tetradic
#18347E #7E1867 #7E6218 #187E2F
square
#18347E #7E1867 #7E6218 #187E2F
split-complementary
#18347E #7E2F18 #677E18
monochromatic
#050B1A #0E1F4B #18347E #2249B1 #3764D9

Accessibility & contrast

On white

11.47
#18347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#18347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18347E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18347E#FFFFFF#000000##FFFFFF
##18347E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18347e;
/* rgb */ color: rgb(24, 52, 126);
/* oklch */ color: oklch(35.3% 0.130 264.7);
Tailwind
colors: {
  custom: {
    50: '#676ba4',
    500: '#18347e',
    950: '#000000',
  },
}
SCSS
$custom: #18347e;
$custom-light: #676ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#18347e",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 223.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.13014,
    "h": 264.7
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#18347E
secondary
#B2933F
accent
#BB3DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #18347E

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

Preview Lab → · Contrast checker → · Palette generator →

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