#4261DC#4261DC

#4261DC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.191 H 268.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4261DC
RGBrgb(66, 97, 220)
HSLhsl(228, 69%, 56%)
HSVhsv(228, 70%, 86%)
CMYKcmyk(70%, 55.9%, 0%, 13.7%)
CIE-LABlab(45.46, 29.66, -66.27)
CIE-LCHlch(45.46, 72.61, 294.11°)
OKLaboklab(54.1% -0.005 -0.1909)
OKLCHoklch(54.1% 0.191 268.5)
XYZxyz(19.4353, 14.8730, 69.5428)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261DC #DCBD42
analogous
#42AEDC #4261DC #7042DC
triadic
#4261DC #DC4261 #61DC42
tetradic
#4261DC #DC42AE #DCBD42 #42DC70
square
#4261DC #DC42AE #DCBD42 #42DC70
split-complementary
#4261DC #DC7042 #AEDC42
monochromatic
#1A308A #2342BE #4261DC #768CE6 #A9B7EF

Accessibility & contrast

On white

5.28
#4261DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4261DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261DC#FFFFFF#000000##FFFFFF
##4261DC1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4261dc;
/* rgb */ color: rgb(66, 97, 220);
/* oklch */ color: oklch(54.1% 0.191 268.5);
Tailwind
colors: {
  custom: {
    50: '#898de8',
    500: '#4261dc',
    950: '#000000',
  },
}
SCSS
$custom: #4261dc;
$custom-light: #898de8;
$custom-dark: #000000;
JSON
{
  "hex": "#4261dc",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 227.922,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.19098,
    "h": 268.5
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#4261DC
secondary
#DDD09D
accent
#C83CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4261DC

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

Preview Lab → · Contrast checker → · Palette generator →

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