#4255BB#4255BB

#4255BB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.161 H 271.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4255BB
RGBrgb(66, 85, 187)
HSLhsl(231, 48%, 50%)
HSVhsv(231, 65%, 73%)
CMYKcmyk(64.7%, 54.5%, 0%, 26.7%)
CIE-LABlab(39.98, 25.62, -56.12)
CIE-LCHlch(39.98, 61.69, 294.53°)
OKLaboklab(49.24% 0.0037 -0.1612)
OKLCHoklch(49.24% 0.161 271.3)
XYZxyz(14.4619, 11.2418, 48.4118)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255BB #BBA842
analogous
#4291BB #4255BB #6C42BB
triadic
#4255BB #BB4255 #55BB42
tetradic
#4255BB #BB4291 #BBA842 #42BB6C
square
#4255BB #BB4291 #BBA842 #42BB6C
split-complementary
#4255BB #BB6C42 #91BB42
monochromatic
#222C61 #32408E #4255BB #6E7DCC #9CA6DC

Accessibility & contrast

On white

6.46
#4255BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4255BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255BB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255BB#FFFFFF#000000##FFFFFF
##4255BB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4255bb;
/* rgb */ color: rgb(66, 85, 187);
/* oklch */ color: oklch(49.2% 0.161 271.3);
Tailwind
colors: {
  custom: {
    50: '#8384d0',
    500: '#4255bb',
    950: '#000000',
  },
}
SCSS
$custom: #4255bb;
$custom-light: #8384d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4255bb",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 230.579,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.16127,
    "h": 271.3
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#4255BB
secondary
#C8BF91
accent
#C250D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4255BB

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

Preview Lab → · Contrast checker → · Palette generator →

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