#4262DC#4262DC

#4262DC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.190 H 268.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4262DC
RGBrgb(66, 98, 220)
HSLhsl(228, 69%, 56%)
HSVhsv(228, 70%, 86%)
CMYKcmyk(70%, 55.5%, 0%, 13.7%)
CIE-LABlab(45.71, 29.03, -65.86)
CIE-LCHlch(45.71, 71.97, 293.79°)
OKLaboklab(54.29% -0.0057 -0.1897)
OKLCHoklch(54.29% 0.19 268.3)
XYZxyz(19.5283, 15.0589, 69.5738)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262DC #DCBC42
analogous
#42AFDC #4262DC #6F42DC
triadic
#4262DC #DC4262 #62DC42
tetradic
#4262DC #DC42AF #DCBC42 #42DC6F
square
#4262DC #DC42AF #DCBC42 #42DC6F
split-complementary
#4262DC #DC6F42 #AFDC42
monochromatic
#1A318A #2343BE #4262DC #768DE6 #A9B8EF

Accessibility & contrast

On white

5.23
#4262DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4262DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262DC#FFFFFF#000000##FFFFFF
##4262DC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4262dc;
/* rgb */ color: rgb(66, 98, 220);
/* oklch */ color: oklch(54.3% 0.190 268.3);
Tailwind
colors: {
  custom: {
    50: '#898ee8',
    500: '#4262dc',
    950: '#000000',
  },
}
SCSS
$custom: #4262dc;
$custom-light: #898ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4262dc",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 227.532,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.18978,
    "h": 268.3
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#4262DC
secondary
#DDCF9D
accent
#C73CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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