#4255C8#4255C8

#4255C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.179 H 271.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4255C8
RGBrgb(66, 85, 200)
HSLhsl(231, 55%, 52%)
HSVhsv(231, 67%, 78%)
CMYKcmyk(67%, 57.5%, 0%, 21.6%)
CIE-LABlab(40.93, 30.19, -62.15)
CIE-LCHlch(40.93, 69.09, 295.91°)
OKLaboklab(50.25% 0.0041 -0.1789)
OKLCHoklch(50.25% 0.179 271.3)
XYZxyz(15.9171, 11.8239, 56.0758)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255C8 #C8B542
analogous
#4298C8 #4255C8 #7242C8
triadic
#4255C8 #C84255 #55C842
tetradic
#4255C8 #C84298 #C8B542 #42C872
square
#4255C8 #C84298 #C8B542 #42C872
split-complementary
#4255C8 #C87242 #98C842
monochromatic
#202C6F #2E3E9F #4255C8 #7180D6 #A1AAE4

Accessibility & contrast

On white

6.24
#4255C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4255C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255C8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255C8#FFFFFF#000000##FFFFFF
##4255C81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4255c8;
/* rgb */ color: rgb(66, 85, 200);
/* oklch */ color: oklch(50.3% 0.179 271.3);
Tailwind
colors: {
  custom: {
    50: '#8684da',
    500: '#4255c8',
    950: '#000000',
  },
}
SCSS
$custom: #4255c8;
$custom-light: #8684da;
$custom-dark: #000000;
JSON
{
  "hex": "#4255c8",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 231.493,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.179,
    "h": 271.3
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#4255C8
secondary
#D0C896
accent
#C94ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4255C8

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

Preview Lab → · Contrast checker → · Palette generator →

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