#4D68CF#4D68CF

#4D68CF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.1% C 0.162 H 269.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D68CF
RGBrgb(77, 104, 207)
HSLhsl(228, 58%, 56%)
HSVhsv(228, 63%, 81%)
CMYKcmyk(62.8%, 49.8%, 0%, 18.8%)
CIE-LABlab(46.95, 22.39, -56.42)
CIE-LCHlch(46.95, 60.70, 291.65°)
OKLaboklab(55.1% -0.0016 -0.1616)
OKLCHoklch(55.1% 0.162 269.4)
XYZxyz(19.2696, 15.9817, 61.0887)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D68CF #CFB44D
analogous
#4DA9CF #4D68CF #734DCF
triadic
#4D68CF #CF4D68 #68CF4D
tetradic
#4D68CF #CF4DA9 #CFB44D #4DCF73
square
#4D68CF #CF4DA9 #CFB44D #4DCF73
split-complementary
#4D68CF #CF734D #A9CF4D
monochromatic
#22367F #2F4AAF #4D68CF #7D91DC #ADBAE9

Accessibility & contrast

On white

5.00
#4D68CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4D68CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D68CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D68CF#FFFFFF#000000##FFFFFF
##4D68CF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D3
Deuteranopia (green-blind)
#0D6ACD
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d68cf;
/* rgb */ color: rgb(77, 104, 207);
/* oklch */ color: oklch(55.1% 0.162 269.4);
Tailwind
colors: {
  custom: {
    50: '#8b92de',
    500: '#4d68cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d68cf;
$custom-light: #8b92de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d68cf",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 227.538,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.16162,
    "h": 269.4
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#4D68CF
secondary
#D7CCA1
accent
#C147E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4D68CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4D68CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva