#1A4CB4#1A4CB4

#1A4CB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.174 H 262.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#1A4CB4
RGBrgb(26, 76, 180)
HSLhsl(221, 75%, 40%)
HSVhsv(221, 86%, 71%)
CMYKcmyk(85.6%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.37, 24.06, -59.59)
CIE-LCHlch(35.37, 64.26, 291.99°)
OKLaboklab(45.14% -0.0228 -0.1723)
OKLCHoklch(45.14% 0.174 262.5)
XYZxyz(11.2457, 8.6824, 44.2543)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4CB4 #B4821A
analogous
#1A99B4 #1A4CB4 #351AB4
triadic
#1A4CB4 #B41A4C #4CB41A
tetradic
#1A4CB4 #B41A99 #B4821A #1AB435
square
#1A4CB4 #B41A99 #B4821A #1AB435
split-complementary
#1A4CB4 #B4351A #99B41A
monochromatic
#0B1F49 #12357F #1A4CB4 #2B66E0 #608CE8

Accessibility & contrast

On white

7.67
#1A4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1A4CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4CB4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4CB4#FFFFFF#000000##FFFFFF
##1A4CB41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a4cb4;
/* rgb */ color: rgb(26, 76, 180);
/* oklch */ color: oklch(45.1% 0.174 262.5);
Tailwind
colors: {
  custom: {
    50: '#747dcb',
    500: '#1a4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #1a4cb4;
$custom-light: #747dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4cb4",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 220.519,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.17379,
    "h": 262.5
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#1A4CB4
secondary
#CCA85D
accent
#B536F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #1A4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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