#4274E1#4274E1

#4274E1 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.175 H 263.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4274E1
RGBrgb(66, 116, 225)
HSLhsl(221, 73%, 57%)
HSVhsv(221, 71%, 88%)
CMYKcmyk(70.7%, 48.4%, 0%, 11.8%)
CIE-LABlab(50.78, 19.49, -60.49)
CIE-LCHlch(50.78, 63.55, 287.86°)
OKLaboklab(58.24% -0.02 -0.1736)
OKLCHoklch(58.24% 0.175 263.4)
XYZxyz(22.0779, 19.0830, 73.7394)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274E1 #E1AF42
analogous
#42C4E1 #4274E1 #6042E1
triadic
#4274E1 #E14274 #74E142
tetradic
#4274E1 #E142C4 #E1AF42 #42E160
square
#4274E1 #E142C4 #E1AF42 #42E160
split-complementary
#4274E1 #E16042 #C4E142
monochromatic
#173E92 #1F54C6 #4274E1 #779BE9 #ACC2F2

Accessibility & contrast

On white

4.36
#4274E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4274E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274E1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274E1#FFFFFF#000000##000000
##4274E11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4274e1;
/* rgb */ color: rgb(66, 116, 225);
/* oklch */ color: oklch(58.2% 0.175 263.4);
Tailwind
colors: {
  custom: {
    50: '#899beb',
    500: '#4274e1',
    950: '#000000',
  },
}
SCSS
$custom: #4274e1;
$custom-light: #899beb;
$custom-dark: #000000;
JSON
{
  "hex": "#4274e1",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 221.132,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.17477,
    "h": 263.4
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#4274E1
secondary
#E0CB9F
accent
#B638EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4274E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4274E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva