#4255BF#4255BF

#4255BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.167 H 271.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4255BF
RGBrgb(66, 85, 191)
HSLhsl(231, 49%, 50%)
HSVhsv(231, 65%, 75%)
CMYKcmyk(65.4%, 55.5%, 0%, 25.1%)
CIE-LABlab(40.27, 27.03, -58.00)
CIE-LCHlch(40.27, 63.98, 294.99°)
OKLaboklab(49.55% 0.0039 -0.1667)
OKLCHoklch(49.55% 0.167 271.3)
XYZxyz(14.8961, 11.4155, 50.6985)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255BF #BFAC42
analogous
#4293BF #4255BF #6D42BF
triadic
#4255BF #BF4255 #55BF42
tetradic
#4255BF #BF4293 #BFAC42 #42BF6D
square
#4255BF #BF4293 #BFAC42 #42BF6D
split-complementary
#4255BF #BF6D42 #93BF42
monochromatic
#222C65 #324092 #4255BF #707ECE #9DA7DE

Accessibility & contrast

On white

6.40
#4255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4255BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255BF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255BF#FFFFFF#000000##FFFFFF
##4255BF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4255bf;
/* rgb */ color: rgb(66, 85, 191);
/* oklch */ color: oklch(49.5% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#8484d3',
    500: '#4255bf',
    950: '#000000',
  },
}
SCSS
$custom: #4255bf;
$custom-light: #8484d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4255bf",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 230.88,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.16678,
    "h": 271.3
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#4255BF
secondary
#CAC293
accent
#C44FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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