#4255BE#4255BE

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

Color values

HEX#4255BE
RGBrgb(66, 85, 190)
HSLhsl(231, 49%, 50%)
HSVhsv(231, 65%, 75%)
CMYKcmyk(65.3%, 55.3%, 0%, 25.5%)
CIE-LABlab(40.20, 26.67, -57.53)
CIE-LCHlch(40.20, 63.41, 294.88°)
OKLaboklab(49.47% 0.0038 -0.1654)
OKLCHoklch(49.47% 0.165 271.3)
XYZxyz(14.7864, 11.3716, 50.1209)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255BE #BEAB42
analogous
#4293BE #4255BE #6D42BE
triadic
#4255BE #BE4255 #55BE42
tetradic
#4255BE #BE4293 #BEAB42 #42BE6D
square
#4255BE #BE4293 #BEAB42 #42BE6D
split-complementary
#4255BE #BE6D42 #93BE42
monochromatic
#222C63 #324091 #4255BE #707ECE #9DA7DD

Accessibility & contrast

On white

6.41
#4255BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4255BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255BE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255BE#FFFFFF#000000##FFFFFF
##4255BE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4255be;
/* rgb */ color: rgb(66, 85, 190);
/* oklch */ color: oklch(49.5% 0.165 271.3);
Tailwind
colors: {
  custom: {
    50: '#8484d2',
    500: '#4255be',
    950: '#000000',
  },
}
SCSS
$custom: #4255be;
$custom-light: #8484d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4255be",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 230.806,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.16541,
    "h": 271.3
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#4255BE
secondary
#CAC192
accent
#C34FD8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4255BE

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

Preview Lab → · Contrast checker → · Palette generator →

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