#4055D3#4055D3

#4055D3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.194 H 270.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4055D3
RGBrgb(64, 85, 211)
HSLhsl(231, 63%, 54%)
HSVhsv(231, 70%, 83%)
CMYKcmyk(69.7%, 59.7%, 0%, 17.3%)
CIE-LABlab(41.67, 33.77, -67.30)
CIE-LCHlch(41.67, 75.30, 296.65°)
OKLaboklab(51.04% 0.0022 -0.1941)
OKLCHoklch(51.04% 0.194 270.6)
XYZxyz(17.1167, 12.2884, 63.0852)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055D3 #D3BE40
analogous
#409ED3 #4055D3 #7540D3
triadic
#4055D3 #D34055 #55D340
tetradic
#4055D3 #D3409E #D3BE40 #40D375
square
#4055D3 #D3409E #D3BE40 #40D375
split-complementary
#4055D3 #D37540 #9ED340
monochromatic
#1D2A7C #283BAE #4055D3 #7281DE #A3AEEA

Accessibility & contrast

On white

6.07
#4055D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4055D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055D3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055D3#FFFFFF#000000##FFFFFF
##4055D31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4055d3;
/* rgb */ color: rgb(64, 85, 211);
/* oklch */ color: oklch(51.0% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#8784e1',
    500: '#4055d3',
    950: '#000000',
  },
}
SCSS
$custom: #4055d3;
$custom-light: #8784e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4055d3",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 231.429,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.19414,
    "h": 270.6
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#4055D3
secondary
#D7CE98
accent
#CE42E6
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4055D3

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

Preview Lab → · Contrast checker → · Palette generator →

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