#18438E#18438E

#18438E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.133 H 260.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#18438E
RGBrgb(24, 67, 142)
HSLhsl(218, 71%, 33%)
HSVhsv(218, 83%, 56%)
CMYKcmyk(83.1%, 52.8%, 0%, 44.3%)
CIE-LABlab(29.81, 14.72, -45.71)
CIE-LCHlch(29.81, 48.02, 287.85°)
OKLaboklab(39.99% -0.0216 -0.1317)
OKLCHoklch(39.99% 0.133 260.7)
XYZxyz(7.2646, 6.1606, 26.3922)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18438E #8E6318
analogous
#187E8E #18438E #28188E
triadic
#18438E #8E1843 #438E18
tetradic
#18438E #8E187E #8E6318 #188E28
square
#18438E #8E187E #8E6318 #188E28
split-complementary
#18438E #8E2818 #7E8E18
monochromatic
#061225 #0F2A5A #18438E #215CC2 #417BDF

Accessibility & contrast

On white

9.41
#18438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#18438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18438E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18438E#FFFFFF#000000##FFFFFF
##18438E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18438e;
/* rgb */ color: rgb(24, 67, 142);
/* oklch */ color: oklch(40.0% 0.133 260.7);
Tailwind
colors: {
  custom: {
    50: '#6a76b0',
    500: '#18438e',
    950: '#000000',
  },
}
SCSS
$custom: #18438e;
$custom-light: #6a76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18438e",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 218.136,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39985,
    "c": 0.13345,
    "h": 260.7
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#18438E
secondary
#C09242
accent
#AC3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18438E

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

Preview Lab → · Contrast checker → · Palette generator →

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