#4768CB#4768CB

#4768CB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.5% C 0.158 H 267.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4768CB
RGBrgb(71, 104, 203)
HSLhsl(225, 56%, 54%)
HSVhsv(225, 65%, 80%)
CMYKcmyk(65%, 48.8%, 0%, 20.4%)
CIE-LABlab(46.38, 19.97, -55.06)
CIE-LCHlch(46.38, 58.57, 289.94°)
OKLaboklab(54.49% -0.0078 -0.1577)
OKLCHoklch(54.49% 0.158 267.2)
XYZxyz(18.3246, 15.5503, 58.5241)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768CB #CBAA47
analogous
#47AACB #4768CB #6847CB
triadic
#4768CB #CB4768 #68CB47
tetradic
#4768CB #CB47AA #CBAA47 #47CB68
square
#4768CB #CB47AA #CBAA47 #47CB68
split-complementary
#4768CB #CB6847 #AACB47
monochromatic
#213776 #2F4DA6 #4768CB #778FD8 #A6B6E6

Accessibility & contrast

On white

5.11
#4768CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4768CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768CB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768CB#FFFFFF#000000##FFFFFF
##4768CB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#1268C9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4768cb;
/* rgb */ color: rgb(71, 104, 203);
/* oklch */ color: oklch(54.5% 0.158 267.2);
Tailwind
colors: {
  custom: {
    50: '#8892db',
    500: '#4768cb',
    950: '#000000',
  },
}
SCSS
$custom: #4768cb;
$custom-light: #8892db;
$custom-dark: #000000;
JSON
{
  "hex": "#4768cb",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 225,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.15793,
    "h": 267.2
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#4768CB
secondary
#D3C59B
accent
#BA49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0D15
muted
#7D7D83

Preview Lab

Preview with #4768CB

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

Preview Lab → · Contrast checker → · Palette generator →

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