#18378D#18378D

#18378D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.148 H 264.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#18378D
RGBrgb(24, 55, 141)
HSLhsl(224, 71%, 32%)
HSVhsv(224, 83%, 55%)
CMYKcmyk(83%, 61%, 0%, 44.7%)
CIE-LABlab(26.30, 22.65, -50.81)
CIE-LCHlch(26.30, 55.63, 294.03°)
OKLaboklab(37.3% -0.0133 -0.1469)
OKLCHoklch(37.3% 0.148 264.8)
XYZxyz(6.5489, 4.8489, 25.7849)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18378D #8D6E18
analogous
#18718D #18378D #34188D
triadic
#18378D #8D1837 #378D18
tetradic
#18378D #8D1871 #8D6E18 #188D34
square
#18378D #8D1871 #8D6E18 #188D34
split-complementary
#18378D #8D3418 #718D18
monochromatic
#060E24 #0F2359 #18378D #214BC1 #416BDF

Accessibility & contrast

On white

10.66
#18378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#18378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18378D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18378D#FFFFFF#000000##FFFFFF
##18378D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18378d;
/* rgb */ color: rgb(24, 55, 141);
/* oklch */ color: oklch(37.3% 0.148 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b6daf',
    500: '#18378d',
    950: '#000000',
  },
}
SCSS
$custom: #18378d;
$custom-light: #6b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#18378d",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 224.103,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.14751,
    "h": 264.8
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#18378D
secondary
#BF9E42
accent
#BE3AEE
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #18378D

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

Preview Lab → · Contrast checker → · Palette generator →

#18378D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva