#4657CF#4657CF

#4657CF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.185 H 272.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4657CF
RGBrgb(70, 87, 207)
HSLhsl(233, 59%, 54%)
HSVhsv(233, 66%, 81%)
CMYKcmyk(66.2%, 58%, 0%, 18.8%)
CIE-LABlab(42.19, 31.96, -64.14)
CIE-LCHlch(42.19, 71.67, 296.49°)
OKLaboklab(51.41% 0.0067 -0.1847)
OKLCHoklch(51.41% 0.185 272.1)
XYZxyz(17.1927, 12.6219, 60.5496)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4657CF #CFBE46
analogous
#469BCF #4657CF #7A46CF
triadic
#4657CF #CF4657 #57CF46
tetradic
#4657CF #CF469B #CFBE46 #46CF7A
square
#4657CF #CF469B #CFBE46 #46CF7A
split-complementary
#4657CF #CF7A46 #9BCF46
monochromatic
#202B7B #2C3CAB #4657CF #7783DC #A7AFE8

Accessibility & contrast

On white

5.96
#4657CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4657CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4657CF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4657CF#FFFFFF#000000##FFFFFF
##4657CF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4657cf;
/* rgb */ color: rgb(70, 87, 207);
/* oklch */ color: oklch(51.4% 0.185 272.1);
Tailwind
colors: {
  custom: {
    50: '#8986df',
    500: '#4657cf',
    950: '#000000',
  },
}
SCSS
$custom: #4657cf;
$custom-light: #8986df;
$custom-dark: #000000;
JSON
{
  "hex": "#4657cf",
  "rgb": {
    "r": 70,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 232.555,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.18482,
    "h": 272.1
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#4657CF
secondary
#D5CE9B
accent
#CF46E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4657CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4657CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva