#18438B#18438B

#18438B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.129 H 260.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#18438B
RGBrgb(24, 67, 139)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(82.7%, 51.8%, 0%, 45.5%)
CIE-LABlab(29.59, 13.48, -44.22)
CIE-LCHlch(29.59, 46.23, 286.96°)
OKLaboklab(39.75% -0.022 -0.1273)
OKLCHoklch(39.75% 0.129 260.2)
XYZxyz(7.0423, 6.0717, 25.2219)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18438B #8B6018
analogous
#187D8B #18438B #26188B
triadic
#18438B #8B1843 #438B18
tetradic
#18438B #8B187D #8B6018 #188B26
square
#18438B #8B187D #8B6018 #188B26
split-complementary
#18438B #8B2618 #7D8B18
monochromatic
#061123 #0F2A57 #18438B #215CBF #3F7BDE

Accessibility & contrast

On white

9.48
#18438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#18438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18438B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18438B#FFFFFF#000000##FFFFFF
##18438B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18438b;
/* rgb */ color: rgb(24, 67, 139);
/* oklch */ color: oklch(39.7% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#6976ad',
    500: '#18438b',
    950: '#000000',
  },
}
SCSS
$custom: #18438b;
$custom-light: #6976ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18438b",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 217.565,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39746,
    "c": 0.1292,
    "h": 260.2
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#18438B
secondary
#BE8F40
accent
#AA3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18438B

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

Preview Lab → · Contrast checker → · Palette generator →

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