#4768DF#4768DF

#4768DF is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.9% C 0.185 H 268.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4768DF
RGBrgb(71, 104, 223)
HSLhsl(227, 70%, 58%)
HSVhsv(227, 68%, 87%)
CMYKcmyk(68.2%, 53.4%, 0%, 12.5%)
CIE-LABlab(47.71, 27.01, -64.32)
CIE-LCHlch(47.71, 69.76, 292.78°)
OKLaboklab(55.92% -0.0059 -0.185)
OKLCHoklch(55.92% 0.185 268.2)
XYZxyz(20.8635, 16.5659, 71.8957)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768DF #DFBE47
analogous
#47B4DF #4768DF #7247DF
triadic
#4768DF #DF4768 #68DF47
tetradic
#4768DF #DF47B4 #DFBE47 #47DF72
square
#4768DF #DF47B4 #DFBE47 #47DF72
split-complementary
#4768DF #DF7247 #B4DF47
monochromatic
#193492 #2246C6 #4768DF #7B93E8 #AFBEF1

Accessibility & contrast

On white

4.87
#4768DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4768DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768DF#FFFFFF#000000##FFFFFF
##4768DF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D78E3
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4768df;
/* rgb */ color: rgb(71, 104, 223);
/* oklch */ color: oklch(55.9% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#8b92ea',
    500: '#4768df',
    950: '#000000',
  },
}
SCSS
$custom: #4768df;
$custom-light: #8b92ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4768df",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 226.974,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.18506,
    "h": 268.2
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#4768DF
secondary
#DFD2A2
accent
#C63BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4768DF

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

Preview Lab → · Contrast checker → · Palette generator →

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