#18438F#18438F

#18438F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.135 H 260.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#18438F
RGBrgb(24, 67, 143)
HSLhsl(218, 71%, 33%)
HSVhsv(218, 83%, 56%)
CMYKcmyk(83.2%, 53.1%, 0%, 43.9%)
CIE-LABlab(29.89, 15.13, -46.20)
CIE-LCHlch(29.89, 48.62, 288.13°)
OKLaboklab(40.07% -0.0214 -0.1332)
OKLCHoklch(40.07% 0.135 260.9)
XYZxyz(7.3400, 6.1908, 26.7894)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18438F #8F6418
analogous
#187E8F #18438F #28188F
triadic
#18438F #8F1843 #438F18
tetradic
#18438F #8F187E #8F6418 #188F28
square
#18438F #8F187E #8F6418 #188F28
split-complementary
#18438F #8F2818 #7E8F18
monochromatic
#061226 #0F2A5B #18438F #215CC3 #427BDF

Accessibility & contrast

On white

9.38
#18438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#18438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18438F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18438F#FFFFFF#000000##FFFFFF
##18438F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18438f;
/* rgb */ color: rgb(24, 67, 143);
/* oklch */ color: oklch(40.1% 0.135 260.9);
Tailwind
colors: {
  custom: {
    50: '#6a76b0',
    500: '#18438f',
    950: '#000000',
  },
}
SCSS
$custom: #18438f;
$custom-light: #6a76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18438f",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 218.319,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40066,
    "c": 0.13487,
    "h": 260.9
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#18438F
secondary
#C09343
accent
#AD3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #18438F

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

Preview Lab → · Contrast checker → · Palette generator →

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