#4262E2#4262E2

#4262E2 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.198 H 268.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4262E2
RGBrgb(66, 98, 226)
HSLhsl(228, 73%, 57%)
HSVhsv(228, 71%, 89%)
CMYKcmyk(70.8%, 56.6%, 0%, 11.4%)
CIE-LABlab(46.15, 31.15, -68.55)
CIE-LCHlch(46.15, 75.30, 294.44°)
OKLaboklab(54.76% -0.0055 -0.1976)
OKLCHoklch(54.76% 0.198 268.4)
XYZxyz(20.3372, 15.3825, 73.8341)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262E2 #E2C242
analogous
#42B2E2 #4262E2 #7242E2
triadic
#4262E2 #E24262 #62E242
tetradic
#4262E2 #E242B2 #E2C242 #42E272
square
#4262E2 #E242B2 #E2C242 #42E272
split-complementary
#4262E2 #E27242 #B2E242
monochromatic
#172F93 #1F41C8 #4262E2 #778EEA #ACBAF2

Accessibility & contrast

On white

5.15
#4262E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4262E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262E2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262E2#FFFFFF#000000##FFFFFF
##4262E21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4262e2;
/* rgb */ color: rgb(66, 98, 226);
/* oklch */ color: oklch(54.8% 0.198 268.4);
Tailwind
colors: {
  custom: {
    50: '#8a8eec',
    500: '#4262e2',
    950: '#000000',
  },
}
SCSS
$custom: #4262e2;
$custom-light: #8a8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#4262e2",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 228,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.19768,
    "h": 268.4
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#4262E2
secondary
#E0D39F
accent
#CB38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4262E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4262E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva