#4055BC#4055BC

#4055BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.163 H 270.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4055BC
RGBrgb(64, 85, 188)
HSLhsl(230, 49%, 49%)
HSVhsv(230, 66%, 74%)
CMYKcmyk(66%, 54.8%, 0%, 26.3%)
CIE-LABlab(39.94, 25.64, -56.78)
CIE-LCHlch(39.94, 62.30, 294.31°)
OKLaboklab(49.2% 0.0017 -0.1632)
OKLCHoklch(49.2% 0.163 270.6)
XYZxyz(14.4369, 11.2165, 48.9714)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055BC #BCA740
analogous
#4093BC #4055BC #6940BC
triadic
#4055BC #BC4055 #55BC40
tetradic
#4055BC #BC4093 #BCA740 #40BC69
square
#4055BC #BC4093 #BCA740 #40BC69
split-complementary
#4055BC #BC6940 #93BC40
monochromatic
#212C61 #30408E #4055BC #6C7DCD #9AA5DD

Accessibility & contrast

On white

6.47
#4055BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4055BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055BC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055BC#FFFFFF#000000##FFFFFF
##4055BC1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4055bc;
/* rgb */ color: rgb(64, 85, 188);
/* oklch */ color: oklch(49.2% 0.163 270.6);
Tailwind
colors: {
  custom: {
    50: '#8284d1',
    500: '#4055bc',
    950: '#000000',
  },
}
SCSS
$custom: #4055bc;
$custom-light: #8284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4055bc",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 229.839,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.16322,
    "h": 270.6
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#4055BC
secondary
#C9BF8F
accent
#C14FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4055BC

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

Preview Lab → · Contrast checker → · Palette generator →

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