#4765BA#4765BA

#4765BA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.138 H 267.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4765BA
RGBrgb(71, 101, 186)
HSLhsl(224, 45%, 50%)
HSVhsv(224, 62%, 73%)
CMYKcmyk(61.8%, 45.7%, 0%, 27.1%)
CIE-LABlab(44.51, 15.92, -48.25)
CIE-LCHlch(44.51, 50.81, 288.26°)
OKLaboklab(52.72% -0.0072 -0.1377)
OKLCHoklch(52.72% 0.138 267)
XYZxyz(16.1121, 14.1907, 48.3349)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4765BA #BA9C47
analogous
#479EBA #4765BA #6247BA
triadic
#4765BA #BA4765 #65BA47
tetradic
#4765BA #BA479E #BA9C47 #47BA62
square
#4765BA #BA479E #BA9C47 #47BA62
split-complementary
#4765BA #BA6247 #9EBA47
monochromatic
#253562 #354D8E #4765BA #748ACB #A0B0DB

Accessibility & contrast

On white

5.47
#4765BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4765BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4765BA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4765BA#FFFFFF#000000##FFFFFF
##4765BA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#2A64B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4765ba;
/* rgb */ color: rgb(71, 101, 186);
/* oklch */ color: oklch(52.7% 0.138 267.0);
Tailwind
colors: {
  custom: {
    50: '#8590cf',
    500: '#4765ba',
    950: '#000000',
  },
}
SCSS
$custom: #4765ba;
$custom-light: #8590cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4765ba",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 224.348,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.13794,
    "h": 267
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#4765BA
secondary
#C8BB95
accent
#B353D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4765BA

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

Preview Lab → · Contrast checker → · Palette generator →

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