#1854B4#1854B4

#1854B4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.164 H 259.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#1854B4
RGBrgb(24, 84, 180)
HSLhsl(217, 76%, 40%)
HSVhsv(217, 87%, 71%)
CMYKcmyk(86.7%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.53, 18.56, -56.06)
CIE-LCHlch(37.53, 59.06, 288.32°)
OKLaboklab(46.77% -0.0288 -0.1618)
OKLCHoklch(46.77% 0.164 259.9)
XYZxyz(11.7822, 9.8286, 44.4473)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1854B4 #B47818
analogous
#18A2B4 #1854B4 #2A18B4
triadic
#1854B4 #B41854 #54B418
tetradic
#1854B4 #B418A2 #B47818 #18B42A
square
#1854B4 #B418A2 #B47818 #18B42A
split-complementary
#1854B4 #B42A18 #A2B418
monochromatic
#0A2248 #113B7E #1854B4 #276FE2 #5D93E9

Accessibility & contrast

On white

7.08
#1854B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#1854B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1854B4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1854B4#FFFFFF#000000##FFFFFF
##1854B41.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1854b4;
/* rgb */ color: rgb(24, 84, 180);
/* oklch */ color: oklch(46.8% 0.164 259.9);
Tailwind
colors: {
  custom: {
    50: '#7383cb',
    500: '#1854b4',
    950: '#000000',
  },
}
SCSS
$custom: #1854b4;
$custom-light: #7383cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1854b4",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 216.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.16434,
    "h": 259.9
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#1854B4
secondary
#CDA15B
accent
#AA35F3
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1854B4

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

Preview Lab → · Contrast checker → · Palette generator →

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