#4262D2#4262D2

#4262D2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.176 H 267.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4262D2
RGBrgb(66, 98, 210)
HSLhsl(227, 62%, 54%)
HSVhsv(227, 69%, 82%)
CMYKcmyk(68.6%, 53.3%, 0%, 17.6%)
CIE-LABlab(45.00, 25.47, -61.31)
CIE-LCHlch(45.00, 66.39, 292.56°)
OKLaboklab(53.53% -0.0063 -0.1763)
OKLCHoklch(53.53% 0.176 267.9)
XYZxyz(18.2433, 14.5450, 62.8063)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262D2 #D2B242
analogous
#42AAD2 #4262D2 #6A42D2
triadic
#4262D2 #D24262 #62D242
tetradic
#4262D2 #D242AA #D2B242 #42D26A
square
#4262D2 #D242AA #D2B242 #42D26A
split-complementary
#4262D2 #D26A42 #AAD242
monochromatic
#1E337C #2947AD #4262D2 #738BDE #A5B4EA

Accessibility & contrast

On white

5.37
#4262D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4262D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262D2#FFFFFF#000000##FFFFFF
##4262D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F71D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4262d2;
/* rgb */ color: rgb(66, 98, 210);
/* oklch */ color: oklch(53.5% 0.176 267.9);
Tailwind
colors: {
  custom: {
    50: '#878ee1',
    500: '#4262d2',
    950: '#000000',
  },
}
SCSS
$custom: #4262d2;
$custom-light: #878ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4262d2",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 226.667,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.17641,
    "h": 267.9
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#4262D2
secondary
#D7C999
accent
#C143E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4262D2

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

Preview Lab → · Contrast checker → · Palette generator →

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