#18458C#18458C

#18458C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.128 H 259.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#18458C
RGBrgb(24, 69, 140)
HSLhsl(217, 71%, 32%)
HSVhsv(217, 83%, 55%)
CMYKcmyk(82.9%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.26, 12.51, -43.76)
CIE-LCHlch(30.26, 45.51, 285.96°)
OKLaboklab(40.28% -0.0234 -0.1259)
OKLCHoklch(40.28% 0.128 259.5)
XYZxyz(7.2367, 6.3430, 25.6488)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18458C #8C5F18
analogous
#187F8C #18458C #25188C
triadic
#18458C #8C1845 #458C18
tetradic
#18458C #8C187F #8C5F18 #188C25
square
#18458C #8C187F #8C5F18 #188C25
split-complementary
#18458C #8C2518 #7F8C18
monochromatic
#061224 #0F2B58 #18458C #215FC0 #407DDE

Accessibility & contrast

On white

9.26
#18458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#18458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18458C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18458C#FFFFFF#000000##FFFFFF
##18458C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18458c;
/* rgb */ color: rgb(24, 69, 140);
/* oklch */ color: oklch(40.3% 0.128 259.5);
Tailwind
colors: {
  custom: {
    50: '#6978ae',
    500: '#18458c',
    950: '#000000',
  },
}
SCSS
$custom: #18458c;
$custom-light: #6978ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18458c",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 216.724,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.12807,
    "h": 259.5
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#18458C
secondary
#BF8E41
accent
#A83AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18458C

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

Preview Lab → · Contrast checker → · Palette generator →

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