#1855AB#1855AB

#1855AB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.151 H 258.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#1855AB
RGBrgb(24, 85, 171)
HSLhsl(215, 75%, 38%)
HSVhsv(215, 86%, 67%)
CMYKcmyk(86%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.17, 14.28, -51.33)
CIE-LCHlch(37.17, 53.28, 285.55°)
OKLaboklab(46.28% -0.0306 -0.1478)
OKLCHoklch(46.28% 0.151 258.3)
XYZxyz(10.9732, 9.6301, 39.8006)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1855AB #AB6E18
analogous
#189EAB #1855AB #2418AB
triadic
#1855AB #AB1855 #55AB18
tetradic
#1855AB #AB189E #AB6E18 #18AB24
square
#1855AB #AB189E #AB6E18 #18AB24
split-complementary
#1855AB #AB2418 #9EAB18
monochromatic
#092040 #103A75 #1855AB #2070E0 #5692E7

Accessibility & contrast

On white

7.18
#1855AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1855AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1855AB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1855AB#FFFFFF#000000##FFFFFF
##1855AB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1855ab;
/* rgb */ color: rgb(24, 85, 171);
/* oklch */ color: oklch(46.3% 0.151 258.3);
Tailwind
colors: {
  custom: {
    50: '#7184c5',
    500: '#1855ab',
    950: '#000000',
  },
}
SCSS
$custom: #1855ab;
$custom-light: #7184c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1855ab",
  "rgb": {
    "r": 24,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 215.102,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.15099,
    "h": 258.3
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#1855AB
secondary
#CA9955
accent
#A436F2
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1855AB

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

Preview Lab → · Contrast checker → · Palette generator →

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