#4255A5#4255A5

#4255A5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.130 H 270.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4255A5
RGBrgb(66, 85, 165)
HSLhsl(228, 43%, 45%)
HSVhsv(228, 60%, 65%)
CMYKcmyk(60%, 48.5%, 0%, 35.3%)
CIE-LABlab(38.50, 17.89, -45.53)
CIE-LCHlch(38.50, 48.92, 291.45°)
OKLaboklab(47.65% 0.0016 -0.1301)
OKLCHoklch(47.65% 0.13 270.7)
XYZxyz(12.2845, 10.3709, 36.9444)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255A5 #A59242
analogous
#4286A5 #4255A5 #6142A5
triadic
#4255A5 #A54255 #55A542
tetradic
#4255A5 #A54286 #A59242 #42A561
square
#4255A5 #A54286 #A59242 #42A561
split-complementary
#4255A5 #A56142 #86A542
monochromatic
#1F284E #313E79 #4255A5 #6375C1 #8F9CD2

Accessibility & contrast

On white

6.83
#4255A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4255A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255A5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255A5#FFFFFF#000000##FFFFFF
##4255A51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA8
Deuteranopia (green-blind)
#1D57A3
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4255a5;
/* rgb */ color: rgb(66, 85, 165);
/* oklch */ color: oklch(47.6% 0.130 270.7);
Tailwind
colors: {
  custom: {
    50: '#7f84c0',
    500: '#4255a5',
    950: '#000000',
  },
}
SCSS
$custom: #4255a5;
$custom-light: #7f84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4255a5",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 165
  },
  "hsl": {
    "h": 228.485,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.13008,
    "h": 270.7
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#4255A5
secondary
#BDB385
accent
#BB55D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4255A5

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

Preview Lab → · Contrast checker → · Palette generator →

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