#4255C3#4255C3

#4255C3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.172 H 271.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4255C3
RGBrgb(66, 85, 195)
HSLhsl(231, 52%, 51%)
HSVhsv(231, 66%, 76%)
CMYKcmyk(66.2%, 56.4%, 0%, 23.5%)
CIE-LABlab(40.56, 28.43, -59.85)
CIE-LCHlch(40.56, 66.26, 295.41°)
OKLaboklab(49.86% 0.004 -0.1722)
OKLCHoklch(49.86% 0.172 271.3)
XYZxyz(15.3423, 11.5940, 53.0485)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255C3 #C3B042
analogous
#4295C3 #4255C3 #6F42C3
triadic
#4255C3 #C34255 #55C342
tetradic
#4255C3 #C34295 #C3B042 #42C36F
square
#4255C3 #C34295 #C3B042 #42C36F
split-complementary
#4255C3 #C36F42 #95C342
monochromatic
#212C69 #303F98 #4255C3 #707FD2 #9FA9E0

Accessibility & contrast

On white

6.33
#4255C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4255C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255C3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255C3#FFFFFF#000000##FFFFFF
##4255C31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4255c3;
/* rgb */ color: rgb(66, 85, 195);
/* oklch */ color: oklch(49.9% 0.172 271.3);
Tailwind
colors: {
  custom: {
    50: '#8584d6',
    500: '#4255c3',
    950: '#000000',
  },
}
SCSS
$custom: #4255c3;
$custom-light: #8584d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4255c3",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 195
  },
  "hsl": {
    "h": 231.163,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.17225,
    "h": 271.3
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#4255C3
secondary
#CDC594
accent
#C64DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4255C3

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

Preview Lab → · Contrast checker → · Palette generator →

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