#4256C7#4256C7

#4256C7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.176 H 271.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4256C7
RGBrgb(66, 86, 199)
HSLhsl(231, 54%, 52%)
HSVhsv(231, 67%, 78%)
CMYKcmyk(66.8%, 56.8%, 0%, 22%)
CIE-LABlab(41.11, 29.20, -61.28)
CIE-LCHlch(41.11, 67.88, 295.48°)
OKLaboklab(50.36% 0.0033 -0.1764)
OKLCHoklch(50.36% 0.176 271.1)
XYZxyz(15.8799, 11.9359, 55.4887)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4256C7 #C7B342
analogous
#4299C7 #4256C7 #7042C7
triadic
#4256C7 #C74256 #56C742
tetradic
#4256C7 #C74299 #C7B342 #42C770
square
#4256C7 #C74299 #C7B342 #42C770
split-complementary
#4256C7 #C77042 #99C742
monochromatic
#212C6E #2F3F9D #4256C7 #7180D5 #A0AAE3

Accessibility & contrast

On white

6.20
#4256C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4256C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4256C7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4256C7#FFFFFF#000000##FFFFFF
##4256C71.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4256c7;
/* rgb */ color: rgb(66, 86, 199);
/* oklch */ color: oklch(50.4% 0.176 271.1);
Tailwind
colors: {
  custom: {
    50: '#8585d9',
    500: '#4256c7',
    950: '#000000',
  },
}
SCSS
$custom: #4256c7;
$custom-light: #8585d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4256c7",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 230.977,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.17641,
    "h": 271.1
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#4256C7
secondary
#D0C795
accent
#C74ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4256C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4256C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva