#1854AB#1854AB

#1854AB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.152 H 258.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1854AB
RGBrgb(24, 84, 171)
HSLhsl(216, 75%, 38%)
HSVhsv(216, 86%, 67%)
CMYKcmyk(86%, 50.9%, 0%, 32.9%)
CIE-LABlab(36.88, 14.95, -51.80)
CIE-LCHlch(36.88, 53.91, 286.10°)
OKLaboklab(46.06% -0.0299 -0.1492)
OKLCHoklch(46.06% 0.152 258.7)
XYZxyz(10.8950, 9.4737, 39.7746)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1854AB #AB6F18
analogous
#189DAB #1854AB #2518AB
triadic
#1854AB #AB1854 #54AB18
tetradic
#1854AB #AB189D #AB6F18 #18AB25
square
#1854AB #AB189D #AB6F18 #18AB25
split-complementary
#1854AB #AB2518 #9DAB18
monochromatic
#091F40 #103A75 #1854AB #206FE0 #5691E7

Accessibility & contrast

On white

7.25
#1854AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1854AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1854AB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1854AB#FFFFFF#000000##FFFFFF
##1854AB1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1854ab;
/* rgb */ color: rgb(24, 84, 171);
/* oklch */ color: oklch(46.1% 0.152 258.7);
Tailwind
colors: {
  custom: {
    50: '#7183c5',
    500: '#1854ab',
    950: '#000000',
  },
}
SCSS
$custom: #1854ab;
$custom-light: #7183c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1854ab",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 215.51,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.15221,
    "h": 258.7
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#1854AB
secondary
#CA9A55
accent
#A536F2
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1854AB

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

Preview Lab → · Contrast checker → · Palette generator →

#1854AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva