#4262D6#4262D6

#4262D6 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.182 H 268.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4262D6
RGBrgb(66, 98, 214)
HSLhsl(227, 64%, 55%)
HSVhsv(227, 69%, 84%)
CMYKcmyk(69.2%, 54.2%, 0%, 16.1%)
CIE-LABlab(45.29, 26.89, -63.14)
CIE-LCHlch(45.29, 68.63, 293.07°)
OKLaboklab(53.83% -0.0061 -0.1817)
OKLCHoklch(53.83% 0.182 268.1)
XYZxyz(18.7479, 14.7468, 65.4637)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262D6 #D6B642
analogous
#42ACD6 #4262D6 #6C42D6
triadic
#4262D6 #D64262 #62D642
tetradic
#4262D6 #D642AC #D6B642 #42D66C
square
#4262D6 #D642AC #D6B642 #42D66C
split-complementary
#4262D6 #D66C42 #ACD642
monochromatic
#1C3282 #2745B4 #4262D6 #748CE1 #A7B6EC

Accessibility & contrast

On white

5.32
#4262D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4262D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262D6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262D6#FFFFFF#000000##FFFFFF
##4262D61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4262d6;
/* rgb */ color: rgb(66, 98, 214);
/* oklch */ color: oklch(53.8% 0.182 268.1);
Tailwind
colors: {
  custom: {
    50: '#888ee3',
    500: '#4262d6',
    950: '#000000',
  },
}
SCSS
$custom: #4262d6;
$custom-light: #888ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4262d6",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 227.027,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.18179,
    "h": 268.1
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#4262D6
secondary
#D9CC9B
accent
#C340E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4262D6

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

Preview Lab → · Contrast checker → · Palette generator →

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