#18458F#18458F

#18458F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.132 H 260.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#18458F
RGBrgb(24, 69, 143)
HSLhsl(217, 71%, 33%)
HSVhsv(217, 83%, 56%)
CMYKcmyk(83.2%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.48, 13.75, -45.25)
CIE-LCHlch(30.48, 47.29, 286.90°)
OKLaboklab(40.52% -0.023 -0.1303)
OKLCHoklch(40.52% 0.132 260)
XYZxyz(7.4609, 6.4327, 26.8297)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18458F #8F6218
analogous
#18808F #18458F #27188F
triadic
#18458F #8F1845 #458F18
tetradic
#18458F #8F1880 #8F6218 #188F27
square
#18458F #8F1880 #8F6218 #188F27
split-complementary
#18458F #8F2718 #808F18
monochromatic
#061226 #0F2C5B #18458F #215EC3 #427EDF

Accessibility & contrast

On white

9.18
#18458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#18458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18458F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18458F#FFFFFF#000000##FFFFFF
##18458F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18458f;
/* rgb */ color: rgb(24, 69, 143);
/* oklch */ color: oklch(40.5% 0.132 260.0);
Tailwind
colors: {
  custom: {
    50: '#6a78b0',
    500: '#18458f',
    950: '#000000',
  },
}
SCSS
$custom: #18458f;
$custom-light: #6a78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18458f",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 217.311,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.13232,
    "h": 260
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#18458F
secondary
#C09143
accent
#AA3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18458F

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

Preview Lab → · Contrast checker → · Palette generator →

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