#4768DC#4768DC

#4768DC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.181 H 268.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4768DC
RGBrgb(71, 104, 220)
HSLhsl(227, 68%, 57%)
HSVhsv(227, 68%, 86%)
CMYKcmyk(67.7%, 52.7%, 0%, 13.7%)
CIE-LABlab(47.50, 25.96, -62.95)
CIE-LCHlch(47.50, 68.09, 292.41°)
OKLaboklab(55.7% -0.0061 -0.1809)
OKLCHoklch(55.7% 0.181 268.1)
XYZxyz(20.4627, 16.4055, 69.7845)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768DC #DCBB47
analogous
#47B3DC #4768DC #7047DC
triadic
#4768DC #DC4768 #68DC47
tetradic
#4768DC #DC47B3 #DCBB47 #47DC70
square
#4768DC #DC47B3 #DCBB47 #47DC70
split-complementary
#4768DC #DC7047 #B3DC47
monochromatic
#1B348E #2547C1 #4768DC #7A92E6 #AEBCF0

Accessibility & contrast

On white

4.90
#4768DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4768DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768DC#FFFFFF#000000##FFFFFF
##4768DC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#008498
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4768dc;
/* rgb */ color: rgb(71, 104, 220);
/* oklch */ color: oklch(55.7% 0.181 268.1);
Tailwind
colors: {
  custom: {
    50: '#8b92e8',
    500: '#4768dc',
    950: '#000000',
  },
}
SCSS
$custom: #4768dc;
$custom-light: #8b92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4768dc",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 226.711,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.18105,
    "h": 268.1
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#4768DC
secondary
#DED0A1
accent
#C43DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4768DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4768DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva