#4255D1#4255D1

#4255D1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.191 H 271.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4255D1
RGBrgb(66, 85, 209)
HSLhsl(232, 61%, 54%)
HSVhsv(232, 68%, 82%)
CMYKcmyk(68.4%, 59.3%, 0%, 18%)
CIE-LABlab(41.62, 33.34, -66.23)
CIE-LCHlch(41.62, 74.15, 296.72°)
OKLaboklab(50.98% 0.0042 -0.1909)
OKLCHoklch(50.98% 0.191 271.3)
XYZxyz(17.0000, 12.2571, 61.7792)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255D1 #D1BE42
analogous
#429DD1 #4255D1 #7742D1
triadic
#4255D1 #D14255 #55D142
tetradic
#4255D1 #D1429D #D1BE42 #42D177
square
#4255D1 #D1429D #D1BE42 #42D177
split-complementary
#4255D1 #D17742 #9DD142
monochromatic
#1E2A7B #2A3BAC #4255D1 #7381DD #A4AEE9

Accessibility & contrast

On white

6.08
#4255D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4255D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255D1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255D1#FFFFFF#000000##FFFFFF
##4255D11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4255d1;
/* rgb */ color: rgb(66, 85, 209);
/* oklch */ color: oklch(51.0% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#8884e0',
    500: '#4255d1',
    950: '#000000',
  },
}
SCSS
$custom: #4255d1;
$custom-light: #8884e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4255d1",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 209
  },
  "hsl": {
    "h": 232.028,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.19098,
    "h": 271.3
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#4255D1
secondary
#D6CE99
accent
#CF44E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4255D1

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

Preview Lab → · Contrast checker → · Palette generator →

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