#4262C4#4262C4

#4262C4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.157 H 267.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4262C4
RGBrgb(66, 98, 196)
HSLhsl(225, 52%, 51%)
HSVhsv(225, 66%, 77%)
CMYKcmyk(66.3%, 50%, 0%, 23.1%)
CIE-LABlab(44.06, 20.48, -54.78)
CIE-LCHlch(44.06, 58.48, 290.50°)
OKLaboklab(52.51% -0.0076 -0.1571)
OKLCHoklch(52.51% 0.157 267.2)
XYZxyz(16.5748, 13.8776, 54.0190)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C4 #C4A442
analogous
#42A3C4 #4262C4 #6342C4
triadic
#4262C4 #C44262 #62C442
tetradic
#4262C4 #C442A3 #C4A442 #42C463
square
#4262C4 #C442A3 #C4A442 #42C463
split-complementary
#4262C4 #C46342 #A3C442
monochromatic
#21336A #304A99 #4262C4 #7189D3 #9FAFE1

Accessibility & contrast

On white

5.56
#4262C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4262C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C4#FFFFFF#000000##FFFFFF
##4262C41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC8
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4262c4;
/* rgb */ color: rgb(66, 98, 196);
/* oklch */ color: oklch(52.5% 0.157 267.2);
Tailwind
colors: {
  custom: {
    50: '#848ed6',
    500: '#4262c4',
    950: '#000000',
  },
}
SCSS
$custom: #4262c4;
$custom-light: #848ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c4",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 225.231,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.1573,
    "h": 267.2
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#4262C4
secondary
#CEBF94
accent
#B84CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262C4

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

Preview Lab → · Contrast checker → · Palette generator →

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