#18438C#18438C

#18438C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.131 H 260.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#18438C
RGBrgb(24, 67, 140)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(82.9%, 52.1%, 0%, 45.1%)
CIE-LABlab(29.67, 13.89, -44.72)
CIE-LCHlch(29.67, 46.83, 287.26°)
OKLaboklab(39.83% -0.0218 -0.1288)
OKLCHoklch(39.83% 0.131 260.4)
XYZxyz(7.1157, 6.1011, 25.6085)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18438C #8C6118
analogous
#187D8C #18438C #27188C
triadic
#18438C #8C1843 #438C18
tetradic
#18438C #8C187D #8C6118 #188C27
square
#18438C #8C187D #8C6118 #188C27
split-complementary
#18438C #8C2718 #7D8C18
monochromatic
#061124 #0F2A58 #18438C #215CC0 #407BDE

Accessibility & contrast

On white

9.46
#18438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#18438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18438C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18438C#FFFFFF#000000##FFFFFF
##18438C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18438c;
/* rgb */ color: rgb(24, 67, 140);
/* oklch */ color: oklch(39.8% 0.131 260.4);
Tailwind
colors: {
  custom: {
    50: '#6a76ae',
    500: '#18438c',
    950: '#000000',
  },
}
SCSS
$custom: #18438c;
$custom-light: #6a76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18438c",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 217.759,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.13063,
    "h": 260.4
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#18438C
secondary
#BF9041
accent
#AB3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18438C

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

Preview Lab → · Contrast checker → · Palette generator →

#18438C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva