#4055B3#4055B3

#4055B3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.151 H 270.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4055B3
RGBrgb(64, 85, 179)
HSLhsl(229, 47%, 48%)
HSVhsv(229, 64%, 70%)
CMYKcmyk(64.2%, 52.5%, 0%, 29.8%)
CIE-LABlab(39.31, 22.45, -52.52)
CIE-LCHlch(39.31, 57.12, 293.14°)
OKLaboklab(48.53% 0.001 -0.1507)
OKLCHoklch(48.53% 0.151 270.4)
XYZxyz(13.4968, 10.8405, 44.0202)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055B3 #B39E40
analogous
#408FB3 #4055B3 #6440B3
triadic
#4055B3 #B34055 #55B340
tetradic
#4055B3 #B3408F #B39E40 #40B364
square
#4055B3 #B3408F #B39E40 #40B364
split-complementary
#4055B3 #B36440 #8FB340
monochromatic
#202A59 #304086 #4055B3 #6779C9 #94A1D9

Accessibility & contrast

On white

6.63
#4055B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4055B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055B3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055B3#FFFFFF#000000##FFFFFF
##4055B31.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4055b3;
/* rgb */ color: rgb(64, 85, 179);
/* oklch */ color: oklch(48.5% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#8184ca',
    500: '#4055b3',
    950: '#000000',
  },
}
SCSS
$custom: #4055b3;
$custom-light: #8184ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4055b3",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 229.043,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.15068,
    "h": 270.4
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#4055B3
secondary
#C4BA8A
accent
#BE51D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4055B3

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

Preview Lab → · Contrast checker → · Palette generator →

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