#1B4EC3#1B4EC3

#1B4EC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.191 H 263.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#1B4EC3
RGBrgb(27, 78, 195)
HSLhsl(222, 76%, 44%)
HSVhsv(222, 86%, 76%)
CMYKcmyk(86.2%, 60%, 0%, 23.5%)
CIE-LABlab(37.15, 28.66, -65.48)
CIE-LCHlch(37.15, 71.48, 293.64°)
OKLaboklab(46.87% -0.0226 -0.1895)
OKLCHoklch(46.87% 0.191 263.2)
XYZxyz(13.0232, 9.6203, 52.7897)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4EC3 #C3901B
analogous
#1BA2C3 #1B4EC3 #3C1BC3
triadic
#1B4EC3 #C31B4E #4EC31B
tetradic
#1B4EC3 #C31BA2 #C3901B #1BC33C
square
#1B4EC3 #C31BA2 #C3901B #1BC33C
split-complementary
#1B4EC3 #C33C1B #A2C31B
monochromatic
#0C2357 #14388D #1B4EC3 #386CE3 #6E94EB

Accessibility & contrast

On white

7.18
#1B4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1B4EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B4EC3#FFFFFF#000000##FFFFFF
##1B4EC31.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b4ec3;
/* rgb */ color: rgb(27, 78, 195);
/* oklch */ color: oklch(46.9% 0.191 263.2);
Tailwind
colors: {
  custom: {
    50: '#787fd6',
    500: '#1b4ec3',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ec3;
$custom-light: #787fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ec3",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 221.786,
    "s": 75.676,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.19087,
    "h": 263.2
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#1B4EC3
secondary
#D1B169
accent
#B936F2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #1B4EC3

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

Preview Lab → · Contrast checker → · Palette generator →

#1B4EC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva