#4261DB#4261DB

#4261DB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.190 H 268.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4261DB
RGBrgb(66, 97, 219)
HSLhsl(228, 68%, 56%)
HSVhsv(228, 70%, 86%)
CMYKcmyk(69.9%, 55.7%, 0%, 14.1%)
CIE-LABlab(45.39, 29.30, -65.82)
CIE-LCHlch(45.39, 72.05, 294.00°)
OKLaboklab(54.02% -0.005 -0.1896)
OKLCHoklch(54.02% 0.19 268.5)
XYZxyz(19.3032, 14.8202, 68.8474)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4261DB #DBBC42
analogous
#42ADDB #4261DB #6F42DB
triadic
#4261DB #DB4261 #61DB42
tetradic
#4261DB #DB42AD #DBBC42 #42DB6F
square
#4261DB #DB42AD #DBBC42 #42DB6F
split-complementary
#4261DB #DB6F42 #ADDB42
monochromatic
#1A3089 #2443BC #4261DB #758CE5 #A9B7EF

Accessibility & contrast

On white

5.30
#4261DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4261DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4261DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4261DB#FFFFFF#000000##FFFFFF
##4261DB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4261db;
/* rgb */ color: rgb(66, 97, 219);
/* oklch */ color: oklch(54.0% 0.190 268.5);
Tailwind
colors: {
  custom: {
    50: '#898de7',
    500: '#4261db',
    950: '#000000',
  },
}
SCSS
$custom: #4261db;
$custom-light: #898de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4261db",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 227.843,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.18967,
    "h": 268.5
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#4261DB
secondary
#DCCF9D
accent
#C83DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4261DB

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

Preview Lab → · Contrast checker → · Palette generator →

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