#1E4FAC#1E4FAC

#1E4FAC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.158 H 261.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#1E4FAC
RGBrgb(30, 79, 172)
HSLhsl(219, 70%, 40%)
HSVhsv(219, 83%, 67%)
CMYKcmyk(82.6%, 54.1%, 0%, 32.5%)
CIE-LABlab(35.68, 19.21, -54.32)
CIE-LCHlch(35.68, 57.62, 289.48°)
OKLaboklab(45.22% -0.0231 -0.1567)
OKLCHoklch(45.22% 0.158 261.6)
XYZxyz(10.7751, 8.8452, 40.1611)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4FAC #AC7B1E
analogous
#1E96AC #1E4FAC #341EAC
triadic
#1E4FAC #AC1E4F #4FAC1E
tetradic
#1E4FAC #AC1E96 #AC7B1E #1EAC34
square
#1E4FAC #AC1E96 #AC7B1E #1EAC34
split-complementary
#1E4FAC #AC341E #96AC1E
monochromatic
#0C1F44 #153778 #1E4FAC #2D69DA #618EE3

Accessibility & contrast

On white

7.58
#1E4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1E4FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4FAC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4FAC#FFFFFF#000000##FFFFFF
##1E4FAC1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1e4fac;
/* rgb */ color: rgb(30, 79, 172);
/* oklch */ color: oklch(45.2% 0.158 261.6);
Tailwind
colors: {
  custom: {
    50: '#737fc5',
    500: '#1e4fac',
    950: '#000000',
  },
}
SCSS
$custom: #1e4fac;
$custom-light: #737fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4fac",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 219.296,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.15839,
    "h": 261.6
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#1E4FAC
secondary
#C8A35E
accent
#B03BED
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1E4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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