#1850B4#1850B4

#1850B4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.169 H 261.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#1850B4
RGBrgb(24, 80, 180)
HSLhsl(218, 76%, 40%)
HSVhsv(218, 87%, 71%)
CMYKcmyk(86.7%, 55.6%, 0%, 29.4%)
CIE-LABlab(36.41, 21.24, -57.88)
CIE-LCHlch(36.41, 61.65, 290.15°)
OKLaboklab(45.92% -0.0263 -0.1672)
OKLCHoklch(45.92% 0.169 261.1)
XYZxyz(11.4806, 9.2253, 44.3467)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1850B4 #B47C18
analogous
#189EB4 #1850B4 #2E18B4
triadic
#1850B4 #B41850 #50B418
tetradic
#1850B4 #B4189E #B47C18 #18B42E
square
#1850B4 #B4189E #B47C18 #18B42E
split-complementary
#1850B4 #B42E18 #9EB418
monochromatic
#0A2048 #11387E #1850B4 #276AE2 #5D8FE9

Accessibility & contrast

On white

7.38
#1850B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1850B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1850B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1850B4#FFFFFF#000000##FFFFFF
##1850B41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1850b4;
/* rgb */ color: rgb(24, 80, 180);
/* oklch */ color: oklch(45.9% 0.169 261.1);
Tailwind
colors: {
  custom: {
    50: '#7380cb',
    500: '#1850b4',
    950: '#000000',
  },
}
SCSS
$custom: #1850b4;
$custom-light: #7380cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1850b4",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 218.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.16927,
    "h": 261.1
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#1850B4
secondary
#CDA45B
accent
#AF35F3
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1850B4

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

Preview Lab → · Contrast checker → · Palette generator →

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