#4274EA#4274EA

#4274EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.9% C 0.187 H 264.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4274EA
RGBrgb(66, 116, 234)
HSLhsl(222, 80%, 59%)
HSVhsv(222, 72%, 92%)
CMYKcmyk(71.8%, 50.4%, 0%, 8.2%)
CIE-LABlab(51.37, 22.72, -64.60)
CIE-LCHlch(51.37, 68.48, 289.38°)
OKLaboklab(58.87% -0.0189 -0.1857)
OKLCHoklch(58.87% 0.187 264.2)
XYZxyz(23.3382, 19.5871, 80.3767)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4274EA #EAB842
analogous
#42C8EA #4274EA #6442EA
triadic
#4274EA #EA4274 #74EA42
tetradic
#4274EA #EA42C8 #EAB842 #42EA64
square
#4274EA #EA42C8 #EAB842 #42EA64
split-complementary
#4274EA #EA6442 #C8EA42
monochromatic
#123CA0 #1851D7 #4274EA #799DF0 #B0C5F6

Accessibility & contrast

On white

4.27
#4274EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4274EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4274EA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4274EA#FFFFFF#000000##000000
##4274EA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EE
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4274ea;
/* rgb */ color: rgb(66, 116, 234);
/* oklch */ color: oklch(58.9% 0.187 264.2);
Tailwind
colors: {
  custom: {
    50: '#8b9bf1',
    500: '#4274ea',
    950: '#000000',
  },
}
SCSS
$custom: #4274ea;
$custom-light: #8b9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4274ea",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 222.143,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.18669,
    "h": 264.2
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#4274EA
secondary
#E5D1A3
accent
#BC31F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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