#4768CA#4768CA

#4768CA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.4% C 0.157 H 267.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4768CA
RGBrgb(71, 104, 202)
HSLhsl(225, 55%, 54%)
HSVhsv(225, 65%, 79%)
CMYKcmyk(64.9%, 48.5%, 0%, 20.8%)
CIE-LABlab(46.32, 19.62, -54.59)
CIE-LCHlch(46.32, 58.01, 289.77°)
OKLaboklab(54.42% -0.0079 -0.1564)
OKLCHoklch(54.42% 0.157 267.1)
XYZxyz(18.2059, 15.5028, 57.8986)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768CA #CAA947
analogous
#47AACA #4768CA #6747CA
triadic
#4768CA #CA4768 #68CA47
tetradic
#4768CA #CA47AA #CAA947 #47CA67
square
#4768CA #CA47AA #CAA947 #47CA67
split-complementary
#4768CA #CA6747 #AACA47
monochromatic
#223775 #2F4DA4 #4768CA #778FD8 #A6B6E5

Accessibility & contrast

On white

5.12
#4768CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4768CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768CA#FFFFFF#000000##FFFFFF
##4768CA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#1568C8
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4768ca;
/* rgb */ color: rgb(71, 104, 202);
/* oklch */ color: oklch(54.4% 0.157 267.1);
Tailwind
colors: {
  custom: {
    50: '#8792db',
    500: '#4768ca',
    950: '#000000',
  },
}
SCSS
$custom: #4768ca;
$custom-light: #8792db;
$custom-dark: #000000;
JSON
{
  "hex": "#4768ca",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 224.885,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.15656,
    "h": 267.1
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#4768CA
secondary
#D2C49A
accent
#B949DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4768CA

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

Preview Lab → · Contrast checker → · Palette generator →

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