#18458B#18458B

#18458B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.127 H 259.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#18458B
RGBrgb(24, 69, 139)
HSLhsl(217, 71%, 32%)
HSVhsv(217, 83%, 55%)
CMYKcmyk(82.7%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.19, 12.10, -43.26)
CIE-LCHlch(30.19, 44.92, 285.63°)
OKLaboklab(40.2% -0.0236 -0.1244)
OKLCHoklch(40.2% 0.127 259.3)
XYZxyz(7.1633, 6.3137, 25.2622)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18458B #8B5E18
analogous
#187F8B #18458B #25188B
triadic
#18458B #8B1845 #458B18
tetradic
#18458B #8B187F #8B5E18 #188B25
square
#18458B #8B187F #8B5E18 #188B25
split-complementary
#18458B #8B2518 #7F8B18
monochromatic
#061123 #0F2B57 #18458B #215FBF #3F7DDE

Accessibility & contrast

On white

9.28
#18458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#18458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18458B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18458B#FFFFFF#000000##FFFFFF
##18458B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18458b;
/* rgb */ color: rgb(24, 69, 139);
/* oklch */ color: oklch(40.2% 0.127 259.3);
Tailwind
colors: {
  custom: {
    50: '#6978ad',
    500: '#18458b',
    950: '#000000',
  },
}
SCSS
$custom: #18458b;
$custom-light: #6978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18458b",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 216.522,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.12665,
    "h": 259.3
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#18458B
secondary
#BE8D40
accent
#A73AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18458B

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

Preview Lab → · Contrast checker → · Palette generator →

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