#4765CD#4765CD

#4765CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.164 H 268.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4765CD
RGBrgb(71, 101, 205)
HSLhsl(227, 57%, 54%)
HSVhsv(227, 65%, 80%)
CMYKcmyk(65.4%, 50.7%, 0%, 19.6%)
CIE-LABlab(45.71, 22.57, -57.29)
CIE-LCHlch(45.71, 61.58, 291.50°)
OKLaboklab(54.02% -0.0048 -0.1643)
OKLCHoklch(54.02% 0.164 268.3)
XYZxyz(18.2679, 15.0530, 59.6886)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4765CD #CDAF47
analogous
#47A8CD #4765CD #6C47CD
triadic
#4765CD #CD4765 #65CD47
tetradic
#4765CD #CD47A8 #CDAF47 #47CD6C
square
#4765CD #CD47A8 #CDAF47 #47CD6C
split-complementary
#4765CD #CD6C47 #A8CD47
monochromatic
#213579 #2E49A9 #4765CD #778DDA #A7B6E7

Accessibility & contrast

On white

5.24
#4765CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4765CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4765CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4765CD#FFFFFF#000000##FFFFFF
##4765CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4765cd;
/* rgb */ color: rgb(71, 101, 205);
/* oklch */ color: oklch(54.0% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#8890dd',
    500: '#4765cd',
    950: '#000000',
  },
}
SCSS
$custom: #4765cd;
$custom-light: #8890dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4765cd",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 226.567,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.16442,
    "h": 268.3
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#4765CD
secondary
#D4C89B
accent
#BE47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4765CD

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

Preview Lab → · Contrast checker → · Palette generator →

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