#4261E1#4261E1

#4261E1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.198 H 268.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4261E1
RGBrgb(66, 97, 225)
HSLhsl(228, 73%, 57%)
HSVhsv(228, 71%, 88%)
CMYKcmyk(70.7%, 56.9%, 0%, 11.8%)
CIE-LABlab(45.83, 31.43, -68.51)
CIE-LCHlch(45.83, 75.38, 294.64°)
OKLaboklab(54.49% -0.0048 -0.1975)
OKLCHoklch(54.49% 0.198 268.6)
XYZxyz(20.1074, 15.1418, 73.0825)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261E1 #E1C242
analogous
#42B1E1 #4261E1 #7342E1
triadic
#4261E1 #E14261 #61E142
tetradic
#4261E1 #E142B1 #E1C242 #42E173
square
#4261E1 #E142B1 #E1C242 #42E173
split-complementary
#4261E1 #E17342 #B1E142
monochromatic
#172F92 #1F40C6 #4261E1 #778DE9 #ACB9F2

Accessibility & contrast

On white

5.21
#4261E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4261E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261E1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261E1#FFFFFF#000000##FFFFFF
##4261E11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4261e1;
/* rgb */ color: rgb(66, 97, 225);
/* oklch */ color: oklch(54.5% 0.198 268.6);
Tailwind
colors: {
  custom: {
    50: '#8a8deb',
    500: '#4261e1',
    950: '#000000',
  },
}
SCSS
$custom: #4261e1;
$custom-light: #8a8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4261e1",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 225
  },
  "hsl": {
    "h": 228.302,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.19757,
    "h": 268.6
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#4261E1
secondary
#E0D39F
accent
#CC38EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4261E1

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

Preview Lab → · Contrast checker → · Palette generator →

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