#4262C6#4262C6

#4262C6 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.160 H 267.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4262C6
RGBrgb(66, 98, 198)
HSLhsl(225, 54%, 52%)
HSVhsv(225, 67%, 78%)
CMYKcmyk(66.7%, 50.5%, 0%, 22.4%)
CIE-LABlab(44.19, 21.19, -55.73)
CIE-LCHlch(44.19, 59.62, 290.82°)
OKLaboklab(52.66% -0.0074 -0.1599)
OKLCHoklch(52.66% 0.16 267.3)
XYZxyz(16.8040, 13.9692, 55.2259)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C6 #C6A642
analogous
#42A4C6 #4262C6 #6442C6
triadic
#4262C6 #C64262 #62C642
tetradic
#4262C6 #C642A4 #C6A642 #42C664
square
#4262C6 #C642A4 #C6A642 #42C664
split-complementary
#4262C6 #C66442 #A4C642
monochromatic
#21336D #2F499C #4262C6 #7189D4 #A0B0E2

Accessibility & contrast

On white

5.53
#4262C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4262C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C6#FFFFFF#000000##FFFFFF
##4262C61.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286FCA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4262c6;
/* rgb */ color: rgb(66, 98, 198);
/* oklch */ color: oklch(52.7% 0.160 267.3);
Tailwind
colors: {
  custom: {
    50: '#858ed8',
    500: '#4262c6',
    950: '#000000',
  },
}
SCSS
$custom: #4262c6;
$custom-light: #858ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c6",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 198
  },
  "hsl": {
    "h": 225.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52656,
    "c": 0.16005,
    "h": 267.3
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#4262C6
secondary
#CFC195
accent
#BA4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262C6

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

Preview Lab → · Contrast checker → · Palette generator →

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