#4255C1#4255C1

#4255C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.170 H 271.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4255C1
RGBrgb(66, 85, 193)
HSLhsl(231, 51%, 51%)
HSVhsv(231, 66%, 76%)
CMYKcmyk(65.8%, 56%, 0%, 24.3%)
CIE-LABlab(40.42, 27.73, -58.93)
CIE-LCHlch(40.42, 65.12, 295.20°)
OKLaboklab(49.7% 0.0039 -0.1695)
OKLCHoklch(49.7% 0.17 271.3)
XYZxyz(15.1177, 11.5041, 51.8656)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255C1 #C1AE42
analogous
#4294C1 #4255C1 #6E42C1
triadic
#4255C1 #C14255 #55C142
tetradic
#4255C1 #C14294 #C1AE42 #42C16E
square
#4255C1 #C14294 #C1AE42 #42C16E
split-complementary
#4255C1 #C16E42 #94C142
monochromatic
#222C67 #314095 #4255C1 #707ED0 #9EA8DF

Accessibility & contrast

On white

6.36
#4255C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4255C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255C1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255C1#FFFFFF#000000##FFFFFF
##4255C11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4255c1;
/* rgb */ color: rgb(66, 85, 193);
/* oklch */ color: oklch(49.7% 0.170 271.3);
Tailwind
colors: {
  custom: {
    50: '#8484d4',
    500: '#4255c1',
    950: '#000000',
  },
}
SCSS
$custom: #4255c1;
$custom-light: #8484d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4255c1",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 193
  },
  "hsl": {
    "h": 231.024,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.16952,
    "h": 271.3
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#4255C1
secondary
#CCC393
accent
#C54EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4255C1

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

Preview Lab → · Contrast checker → · Palette generator →

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