#1A4EB3#1A4EB3

#1A4EB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.170 H 261.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#1A4EB3
RGBrgb(26, 78, 179)
HSLhsl(220, 75%, 40%)
HSVhsv(220, 85%, 70%)
CMYKcmyk(85.5%, 56.4%, 0%, 29.8%)
CIE-LABlab(35.83, 22.32, -58.23)
CIE-LCHlch(35.83, 62.37, 290.97°)
OKLaboklab(45.47% -0.0241 -0.1683)
OKLCHoklch(45.47% 0.17 261.9)
XYZxyz(11.2841, 8.9216, 43.7664)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4EB3 #B37F1A
analogous
#1A9AB3 #1A4EB3 #331AB3
triadic
#1A4EB3 #B31A4E #4EB31A
tetradic
#1A4EB3 #B31A9A #B37F1A #1AB333
square
#1A4EB3 #B31A9A #B37F1A #1AB333
split-complementary
#1A4EB3 #B3331A #9AB31A
monochromatic
#0A1F48 #12377E #1A4EB3 #2A68E0 #608EE8

Accessibility & contrast

On white

7.54
#1A4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1A4EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4EB3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4EB3#FFFFFF#000000##FFFFFF
##1A4EB31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1a4eb3;
/* rgb */ color: rgb(26, 78, 179);
/* oklch */ color: oklch(45.5% 0.170 261.9);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1a4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #1a4eb3;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4eb3",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 219.608,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.17,
    "h": 261.9
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#1A4EB3
secondary
#CCA65D
accent
#B237F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1A4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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