#4262C5#4262C5

#4262C5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.159 H 267.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4262C5
RGBrgb(66, 98, 197)
HSLhsl(225, 53%, 52%)
HSVhsv(225, 66%, 77%)
CMYKcmyk(66.5%, 50.3%, 0%, 22.7%)
CIE-LABlab(44.12, 20.83, -55.25)
CIE-LCHlch(44.12, 59.05, 290.66°)
OKLaboklab(52.59% -0.0075 -0.1585)
OKLCHoklch(52.59% 0.159 267.3)
XYZxyz(16.6890, 13.9233, 54.6204)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262C5 #C5A542
analogous
#42A3C5 #4262C5 #6442C5
triadic
#4262C5 #C54262 #62C542
tetradic
#4262C5 #C542A3 #C5A542 #42C564
square
#4262C5 #C542A3 #C5A542 #42C564
split-complementary
#4262C5 #C56442 #A3C542
monochromatic
#21336C #2F4A9A #4262C5 #7189D3 #A0B0E2

Accessibility & contrast

On white

5.55
#4262C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4262C5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262C5#FFFFFF#000000##FFFFFF
##4262C51.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296FC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4262c5;
/* rgb */ color: rgb(66, 98, 197);
/* oklch */ color: oklch(52.6% 0.159 267.3);
Tailwind
colors: {
  custom: {
    50: '#848ed7',
    500: '#4262c5',
    950: '#000000',
  },
}
SCSS
$custom: #4262c5;
$custom-light: #848ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4262c5",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 225.344,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.15867,
    "h": 267.3
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#4262C5
secondary
#CEC095
accent
#B94BDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4262C5

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

Preview Lab → · Contrast checker → · Palette generator →

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