#4260E1#4260E1

#4260E1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.199 H 268.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4260E1
RGBrgb(66, 96, 225)
HSLhsl(229, 73%, 57%)
HSVhsv(229, 71%, 88%)
CMYKcmyk(70.7%, 57.3%, 0%, 11.8%)
CIE-LABlab(45.58, 32.05, -68.92)
CIE-LCHlch(45.58, 76.01, 294.94°)
OKLaboklab(54.31% -0.004 -0.1987)
OKLCHoklch(54.31% 0.199 268.8)
XYZxyz(20.0156, 14.9582, 73.0519)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4260E1 #E1C342
analogous
#42B0E1 #4260E1 #7342E1
triadic
#4260E1 #E14260 #60E142
tetradic
#4260E1 #E142B0 #E1C342 #42E173
square
#4260E1 #E142B0 #E1C342 #42E173
split-complementary
#4260E1 #E17342 #B0E142
monochromatic
#172E92 #1F3FC6 #4260E1 #778CE9 #ACB9F2

Accessibility & contrast

On white

5.26
#4260E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4260E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4260E1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4260E1#FFFFFF#000000##FFFFFF
##4260E11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4260e1;
/* rgb */ color: rgb(66, 96, 225);
/* oklch */ color: oklch(54.3% 0.199 268.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ceb',
    500: '#4260e1',
    950: '#000000',
  },
}
SCSS
$custom: #4260e1;
$custom-light: #8a8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4260e1",
  "rgb": {
    "r": 66,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 228.679,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.19876,
    "h": 268.8
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#4260E1
secondary
#E0D49F
accent
#CD38EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4260E1

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

Preview Lab → · Contrast checker → · Palette generator →

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