#1854B3#1854B3

#1854B3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.163 H 259.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#1854B3
RGBrgb(24, 84, 179)
HSLhsl(217, 76%, 40%)
HSVhsv(217, 87%, 70%)
CMYKcmyk(86.6%, 53.1%, 0%, 29.8%)
CIE-LABlab(37.46, 18.16, -55.59)
CIE-LCHlch(37.46, 58.49, 288.09°)
OKLaboklab(46.69% -0.0289 -0.1604)
OKLCHoklch(46.69% 0.163 259.8)
XYZxyz(11.6807, 9.7880, 43.9127)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1854B3 #B37718
analogous
#18A2B3 #1854B3 #2918B3
triadic
#1854B3 #B31854 #54B318
tetradic
#1854B3 #B318A2 #B37718 #18B329
square
#1854B3 #B318A2 #B37718 #18B329
split-complementary
#1854B3 #B32918 #A2B318
monochromatic
#0A2147 #113B7D #1854B3 #266FE2 #5C93E9

Accessibility & contrast

On white

7.10
#1854B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1854B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1854B3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1854B3#FFFFFF#000000##FFFFFF
##1854B31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1854b3;
/* rgb */ color: rgb(24, 84, 179);
/* oklch */ color: oklch(46.7% 0.163 259.8);
Tailwind
colors: {
  custom: {
    50: '#7383ca',
    500: '#1854b3',
    950: '#000000',
  },
}
SCSS
$custom: #1854b3;
$custom-light: #7383ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1854b3",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 216.774,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.163,
    "h": 259.8
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#1854B3
secondary
#CDA05A
accent
#A935F3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1854B3

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

Preview Lab → · Contrast checker → · Palette generator →

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