#4255D2#4255D2

#4255D2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.192 H 271.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4255D2
RGBrgb(66, 85, 210)
HSLhsl(232, 62%, 54%)
HSVhsv(232, 69%, 82%)
CMYKcmyk(68.6%, 59.5%, 0%, 17.6%)
CIE-LABlab(41.70, 33.69, -66.67)
CIE-LCHlch(41.70, 74.70, 296.81°)
OKLaboklab(51.06% 0.0042 -0.1922)
OKLCHoklch(51.06% 0.192 271.2)
XYZxyz(17.1242, 12.3067, 62.4333)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255D2 #D2BF42
analogous
#429DD2 #4255D2 #7742D2
triadic
#4255D2 #D24255 #55D242
tetradic
#4255D2 #D2429D #D2BF42 #42D277
square
#4255D2 #D2429D #D2BF42 #42D277
split-complementary
#4255D2 #D27742 #9DD242
monochromatic
#1E2A7C #293BAD #4255D2 #7381DE #A5AEEA

Accessibility & contrast

On white

6.07
#4255D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4255D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255D2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255D2#FFFFFF#000000##FFFFFF
##4255D21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4255d2;
/* rgb */ color: rgb(66, 85, 210);
/* oklch */ color: oklch(51.1% 0.192 271.2);
Tailwind
colors: {
  custom: {
    50: '#8884e1',
    500: '#4255d2',
    950: '#000000',
  },
}
SCSS
$custom: #4255d2;
$custom-light: #8884e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4255d2",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 232.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.1923,
    "h": 271.2
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#4255D2
secondary
#D7CE99
accent
#CF43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4255D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4255D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva