#18458E#18458E

#18458E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.131 H 259.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#18458E
RGBrgb(24, 69, 142)
HSLhsl(217, 71%, 33%)
HSVhsv(217, 83%, 56%)
CMYKcmyk(83.1%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.41, 13.34, -44.75)
CIE-LCHlch(30.41, 46.70, 286.59°)
OKLaboklab(40.44% -0.0231 -0.1288)
OKLCHoklch(40.44% 0.131 259.8)
XYZxyz(7.3855, 6.4025, 26.4325)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18458E #8E6118
analogous
#18808E #18458E #26188E
triadic
#18458E #8E1845 #458E18
tetradic
#18458E #8E1880 #8E6118 #188E26
square
#18458E #8E1880 #8E6118 #188E26
split-complementary
#18458E #8E2618 #808E18
monochromatic
#061225 #0F2C5A #18458E #215EC2 #417EDF

Accessibility & contrast

On white

9.21
#18458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#18458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18458E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18458E#FFFFFF#000000##FFFFFF
##18458E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18458e;
/* rgb */ color: rgb(24, 69, 142);
/* oklch */ color: oklch(40.4% 0.131 259.8);
Tailwind
colors: {
  custom: {
    50: '#6a78b0',
    500: '#18458e',
    950: '#000000',
  },
}
SCSS
$custom: #18458e;
$custom-light: #6a78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18458e",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 217.119,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.13089,
    "h": 259.8
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#18458E
secondary
#C09042
accent
#A93AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18458E

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

Preview Lab → · Contrast checker → · Palette generator →

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