#4262DD#4262DD

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

Color values

HEX#4262DD
RGBrgb(66, 98, 221)
HSLhsl(228, 70%, 56%)
HSVhsv(228, 70%, 87%)
CMYKcmyk(70.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(45.79, 29.38, -66.31)
CIE-LCHlch(45.79, 72.53, 293.90°)
OKLaboklab(54.37% -0.0057 -0.191)
OKLCHoklch(54.37% 0.191 268.3)
XYZxyz(19.6611, 15.1121, 70.2734)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262DD #DDBD42
analogous
#42B0DD #4262DD #7042DD
triadic
#4262DD #DD4262 #62DD42
tetradic
#4262DD #DD42B0 #DDBD42 #42DD70
square
#4262DD #DD42B0 #DDBD42 #42DD70
split-complementary
#4262DD #DD7042 #B0DD42
monochromatic
#19318C #2243BF #4262DD #768DE6 #AAB8F0

Accessibility & contrast

On white

5.22
#4262DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4262DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262DD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262DD#FFFFFF#000000##FFFFFF
##4262DD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4262dd;
/* rgb */ color: rgb(66, 98, 221);
/* oklch */ color: oklch(54.4% 0.191 268.3);
Tailwind
colors: {
  custom: {
    50: '#898ee8',
    500: '#4262dd',
    950: '#000000',
  },
}
SCSS
$custom: #4262dd;
$custom-light: #898ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4262dd",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 227.613,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.1911,
    "h": 268.3
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#4262DD
secondary
#DDD09D
accent
#C83BEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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