#4055BA#4055BA

#4055BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.160 H 270.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4055BA
RGBrgb(64, 85, 186)
HSLhsl(230, 49%, 49%)
HSVhsv(230, 66%, 73%)
CMYKcmyk(65.6%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.80, 24.93, -55.84)
CIE-LCHlch(39.80, 61.16, 294.06°)
OKLaboklab(49.05% 0.0015 -0.1604)
OKLCHoklch(49.05% 0.16 270.5)
XYZxyz(14.2228, 11.1309, 47.8438)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055BA #BAA540
analogous
#4092BA #4055BA #6840BA
triadic
#4055BA #BA4055 #55BA40
tetradic
#4055BA #BA4092 #BAA540 #40BA68
square
#4055BA #BA4092 #BAA540 #40BA68
split-complementary
#4055BA #BA6840 #92BA40
monochromatic
#212B5F #30408C #4055BA #6B7CCC #99A4DC

Accessibility & contrast

On white

6.51
#4055BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4055BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055BA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055BA#FFFFFF#000000##FFFFFF
##4055BA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4055ba;
/* rgb */ color: rgb(64, 85, 186);
/* oklch */ color: oklch(49.0% 0.160 270.5);
Tailwind
colors: {
  custom: {
    50: '#8284cf',
    500: '#4055ba',
    950: '#000000',
  },
}
SCSS
$custom: #4055ba;
$custom-light: #8284cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4055ba",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 229.672,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.16046,
    "h": 270.5
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#4055BA
secondary
#C8BE8E
accent
#C14FD8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4055BA

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

Preview Lab → · Contrast checker → · Palette generator →

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