#4055A2#4055A2

#4055A2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.126 H 269.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4055A2
RGBrgb(64, 85, 162)
HSLhsl(227, 43%, 44%)
HSVhsv(227, 60%, 64%)
CMYKcmyk(60.5%, 47.5%, 0%, 36.5%)
CIE-LABlab(38.19, 16.43, -44.24)
CIE-LCHlch(38.19, 47.20, 290.38°)
OKLaboklab(47.32% -0.0009 -0.1263)
OKLCHoklch(47.32% 0.126 269.6)
XYZxyz(11.8823, 10.1947, 35.5170)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055A2 #A28D40
analogous
#4086A2 #4055A2 #5C40A2
triadic
#4055A2 #A24055 #55A240
tetradic
#4055A2 #A24086 #A28D40 #40A25C
square
#4055A2 #A24086 #A28D40 #40A25C
split-complementary
#4055A2 #A25C40 #86A240
monochromatic
#1D274A #2F3E76 #4055A2 #5F74C0 #8B9AD1

Accessibility & contrast

On white

6.91
#4055A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4055A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055A2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055A2#FFFFFF#000000##FFFFFF
##4055A21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA5
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4055a2;
/* rgb */ color: rgb(64, 85, 162);
/* oklch */ color: oklch(47.3% 0.126 269.6);
Tailwind
colors: {
  custom: {
    50: '#7e84be',
    500: '#4055a2',
    950: '#000000',
  },
}
SCSS
$custom: #4055a2;
$custom-light: #7e84be;
$custom-dark: #000000;
JSON
{
  "hex": "#4055a2",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 227.143,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.12633,
    "h": 269.6
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#4055A2
secondary
#BCB082
accent
#B855D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4055A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4055A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva