#18489B#18489B

#18489B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.145 H 260.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#18489B
RGBrgb(24, 72, 155)
HSLhsl(218, 73%, 35%)
HSVhsv(218, 85%, 61%)
CMYKcmyk(84.5%, 53.5%, 0%, 39.2%)
CIE-LABlab(32.25, 16.59, -49.71)
CIE-LCHlch(32.25, 52.40, 288.45°)
OKLaboklab(42.15% -0.0236 -0.1433)
OKLCHoklch(42.15% 0.145 260.6)
XYZxyz(8.6083, 7.1944, 31.9389)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18489B #9B6B18
analogous
#188A9B #18489B #29189B
triadic
#18489B #9B1848 #489B18
tetradic
#18489B #9B188A #9B6B18 #189B29
square
#18489B #9B188A #9B6B18 #189B29
split-complementary
#18489B #9B2918 #8A9B18
monochromatic
#081731 #102F66 #18489B #2061D0 #4A82E3

Accessibility & contrast

On white

8.61
#18489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#18489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18489B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18489B#FFFFFF#000000##FFFFFF
##18489B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08529E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18489b;
/* rgb */ color: rgb(24, 72, 155);
/* oklch */ color: oklch(42.1% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#6d7ab9',
    500: '#18489b',
    950: '#000000',
  },
}
SCSS
$custom: #18489b;
$custom-light: #6d7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#18489b",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 218.015,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42147,
    "c": 0.14528,
    "h": 260.6
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#18489B
secondary
#C5984A
accent
#AC38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #18489B

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

Preview Lab → · Contrast checker → · Palette generator →

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