#4262C2#4262C2

#4262C2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.155 H 267.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4262C2
RGBrgb(66, 98, 194)
HSLhsl(225, 51%, 51%)
HSVhsv(225, 66%, 76%)
CMYKcmyk(66%, 49.5%, 0%, 23.9%)
CIE-LABlab(43.93, 19.77, -53.84)
CIE-LCHlch(43.93, 57.35, 290.16°)
OKLaboklab(52.37% -0.0079 -0.1543)
OKLCHoklch(52.37% 0.155 267.1)
XYZxyz(16.3487, 13.7871, 52.8281)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C2 #C2A242
analogous
#42A2C2 #4262C2 #6242C2
triadic
#4262C2 #C24262 #62C242
tetradic
#4262C2 #C242A2 #C2A242 #42C262
square
#4262C2 #C242A2 #C2A242 #42C262
split-complementary
#4262C2 #C26242 #A2C242
monochromatic
#223368 #314A96 #4262C2 #7088D1 #9FAFE0

Accessibility & contrast

On white

5.59
#4262C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4262C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C2#FFFFFF#000000##FFFFFF
##4262C21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC5
Deuteranopia (green-blind)
#0762C0
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4262c2;
/* rgb */ color: rgb(66, 98, 194);
/* oklch */ color: oklch(52.4% 0.155 267.1);
Tailwind
colors: {
  custom: {
    50: '#848ed5',
    500: '#4262c2',
    950: '#000000',
  },
}
SCSS
$custom: #4262c2;
$custom-light: #848ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c2",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 225,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.15452,
    "h": 267.1
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#4262C2
secondary
#CCBE94
accent
#B74DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262C2

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

Preview Lab → · Contrast checker → · Palette generator →

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