#4274E7#4274E7

#4274E7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.183 H 263.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4274E7
RGBrgb(66, 116, 231)
HSLhsl(222, 77%, 58%)
HSVhsv(222, 71%, 91%)
CMYKcmyk(71.4%, 49.8%, 0%, 9.4%)
CIE-LABlab(51.17, 21.65, -63.24)
CIE-LCHlch(51.17, 66.84, 288.90°)
OKLaboklab(58.66% -0.0193 -0.1817)
OKLCHoklch(58.66% 0.183 263.9)
XYZxyz(22.9109, 19.4161, 78.1260)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274E7 #E7B542
analogous
#42C7E7 #4274E7 #6242E7
triadic
#4274E7 #E74274 #74E742
tetradic
#4274E7 #E742C7 #E7B542 #42E762
square
#4274E7 #E742C7 #E7B542 #42E762
split-complementary
#4274E7 #E76242 #C7E742
monochromatic
#143D9B #1B52D1 #4274E7 #789CEE #AFC4F5

Accessibility & contrast

On white

4.30
#4274E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4274E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274E7#FFFFFF#000000##000000
##4274E71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4274e7;
/* rgb */ color: rgb(66, 116, 231);
/* oklch */ color: oklch(58.7% 0.183 263.9);
Tailwind
colors: {
  custom: {
    50: '#8a9bef',
    500: '#4274e7',
    950: '#000000',
  },
}
SCSS
$custom: #4274e7;
$custom-light: #8a9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4274e7",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 221.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.18273,
    "h": 263.9
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#4274E7
secondary
#E3CFA2
accent
#BA34F4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4274E7

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

Preview Lab → · Contrast checker → · Palette generator →

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