#4262DB#4262DB

#4262DB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.188 H 268.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4262DB
RGBrgb(66, 98, 219)
HSLhsl(227, 68%, 56%)
HSVhsv(227, 70%, 86%)
CMYKcmyk(69.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(45.64, 28.67, -65.41)
CIE-LCHlch(45.64, 71.41, 293.67°)
OKLaboklab(54.22% -0.0058 -0.1884)
OKLCHoklch(54.22% 0.188 268.2)
XYZxyz(19.3962, 15.0061, 68.8784)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262DB #DBBB42
analogous
#42AEDB #4262DB #6E42DB
triadic
#4262DB #DB4262 #62DB42
tetradic
#4262DB #DB42AE #DBBB42 #42DB6E
square
#4262DB #DB42AE #DBBB42 #42DB6E
split-complementary
#4262DB #DB6E42 #AEDB42
monochromatic
#1A3189 #2444BC #4262DB #758DE5 #A9B7EF

Accessibility & contrast

On white

5.25
#4262DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4262DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262DB#FFFFFF#000000##FFFFFF
##4262DB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4262db;
/* rgb */ color: rgb(66, 98, 219);
/* oklch */ color: oklch(54.2% 0.188 268.2);
Tailwind
colors: {
  custom: {
    50: '#898ee7',
    500: '#4262db',
    950: '#000000',
  },
}
SCSS
$custom: #4262db;
$custom-light: #898ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4262db",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 227.451,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.18846,
    "h": 268.2
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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