#4640CF#4640CF

#4640CF is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.212 H 276.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4640CF
RGBrgb(70, 64, 207)
HSLhsl(243, 60%, 53%)
HSVhsv(243, 69%, 81%)
CMYKcmyk(66.2%, 69.1%, 0%, 18.8%)
CIE-LABlab(36.88, 45.94, -72.82)
CIE-LCHlch(36.88, 86.10, 302.24°)
OKLaboklab(47.53% 0.0241 -0.2103)
OKLCHoklch(47.53% 0.212 276.5)
XYZxyz(15.6180, 9.4725, 60.0247)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640CF #C9CF40
analogous
#4082CF #4640CF #8D40CF
triadic
#4640CF #CF4640 #40CF46
tetradic
#4640CF #CF4082 #C9CF40 #40CF8D
square
#4640CF #CF4082 #C9CF40 #40CF8D
split-complementary
#4640CF #CF8D40 #82CF40
monochromatic
#221E77 #2F2AA8 #4640CF #7571DB #A5A2E8

Accessibility & contrast

On white

7.25
#4640CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4640CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640CF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640CF#FFFFFF#000000##FFFFFF
##4640CF1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0050CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4640cf;
/* rgb */ color: rgb(70, 64, 207);
/* oklch */ color: oklch(47.5% 0.212 276.5);
Tailwind
colors: {
  custom: {
    50: '#8a76df',
    500: '#4640cf',
    950: '#000000',
  },
}
SCSS
$custom: #4640cf;
$custom-light: #8a76df;
$custom-dark: #000000;
JSON
{
  "hex": "#4640cf",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 242.517,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.21164,
    "h": 276.5
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#4640CF
secondary
#D2D497
accent
#E345DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4640CF

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

Preview Lab → · Contrast checker → · Palette generator →

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