#4640E3#4640E3

#4640E3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.4% C 0.236 H 275.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4640E3
RGBrgb(70, 64, 227)
HSLhsl(242, 74%, 57%)
HSVhsv(242, 72%, 89%)
CMYKcmyk(69.2%, 71.8%, 0%, 11%)
CIE-LABlab(38.75, 52.31, -81.23)
CIE-LCHlch(38.75, 96.62, 302.78°)
OKLaboklab(49.43% 0.0209 -0.2348)
OKLCHoklch(49.43% 0.236 275.1)
XYZxyz(18.2197, 10.5132, 73.7272)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640E3 #DDE340
analogous
#408BE3 #4640E3 #9840E3
triadic
#4640E3 #E34640 #40E346
tetradic
#4640E3 #E3408B #DDE340 #40E398
square
#4640E3 #E3408B #DDE340 #40E398
split-complementary
#4640E3 #E39840 #8BE340
monochromatic
#1A1693 #241DC8 #4640E3 #7A75EB #ADABF3

Accessibility & contrast

On white

6.77
#4640E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4640E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4640E3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640E3#FFFFFF#000000##FFFFFF
##4640E31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0054E0
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4640e3;
/* rgb */ color: rgb(70, 64, 227);
/* oklch */ color: oklch(49.4% 0.236 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e77ed',
    500: '#4640e3',
    950: '#000000',
  },
}
SCSS
$custom: #4640e3;
$custom-light: #8e77ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4640e3",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 242.209,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.23576,
    "h": 275.1
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#4640E3
secondary
#DEE19E
accent
#F137EA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4640E3

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

Preview Lab → · Contrast checker → · Palette generator →

#4640E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva