#4640CB#4640CB

#4640CB is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.207 H 276.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4640CB
RGBrgb(70, 64, 203)
HSLhsl(243, 57%, 52%)
HSVhsv(243, 68%, 80%)
CMYKcmyk(65.5%, 68.5%, 0%, 20.4%)
CIE-LABlab(36.52, 44.65, -71.10)
CIE-LCHlch(36.52, 83.95, 302.13°)
OKLaboklab(47.16% 0.0246 -0.2052)
OKLCHoklch(47.16% 0.207 276.8)
XYZxyz(15.1352, 9.2794, 57.4818)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4640CB #C5CB40
analogous
#407FCB #4640CB #8C40CB
triadic
#4640CB #CB4640 #40CB46
tetradic
#4640CB #CB407F #C5CB40 #40CB8C
square
#4640CB #CB407F #C5CB40 #40CB8C
split-complementary
#4640CB #CB8C40 #7FCB40
monochromatic
#231F72 #312CA2 #4640CB #7570D8 #A3A0E5

Accessibility & contrast

On white

7.35
#4640CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4640CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4640CB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4640CB#FFFFFF#000000##FFFFFF
##4640CB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4640cb;
/* rgb */ color: rgb(70, 64, 203);
/* oklch */ color: oklch(47.2% 0.207 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a76dc',
    500: '#4640cb',
    950: '#000000',
  },
}
SCSS
$custom: #4640cb;
$custom-light: #8a76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4640cb",
  "rgb": {
    "r": 70,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 242.59,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.2067,
    "h": 276.8
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#4640CB
secondary
#CFD295
accent
#E047DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4640CB

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

Preview Lab → · Contrast checker → · Palette generator →

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