#4340D6#4340D6

#4340D6 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.221 H 275.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4340D6
RGBrgb(67, 64, 214)
HSLhsl(241, 65%, 55%)
HSVhsv(241, 70%, 84%)
CMYKcmyk(68.7%, 70.1%, 0%, 16.1%)
CIE-LABlab(37.32, 47.85, -76.14)
CIE-LCHlch(37.32, 89.92, 302.15°)
OKLaboklab(47.99% 0.0194 -0.22)
OKLCHoklch(47.99% 0.221 275)
XYZxyz(16.2817, 9.7136, 64.6222)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340D6 #D3D640
analogous
#4088D6 #4340D6 #8E40D6
triadic
#4340D6 #D64340 #40D643
tetradic
#4340D6 #D64088 #D3D640 #40D68E
square
#4340D6 #D64088 #D3D640 #40D68E
split-complementary
#4340D6 #D68E40 #88D640
monochromatic
#1E1B80 #2926B2 #4340D6 #7572E1 #A6A5EC

Accessibility & contrast

On white

7.14
#4340D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4340D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340D6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340D6#FFFFFF#000000##FFFFFF
##4340D61.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDA
Deuteranopia (green-blind)
#0051D3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4340d6;
/* rgb */ color: rgb(67, 64, 214);
/* oklch */ color: oklch(48.0% 0.221 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b76e4',
    500: '#4340d6',
    950: '#000000',
  },
}
SCSS
$custom: #4340d6;
$custom-light: #8b76e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4340d6",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 214
  },
  "hsl": {
    "h": 241.2,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.22089,
    "h": 275
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#4340D6
secondary
#D7D999
accent
#E840E4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4340D6

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

Preview Lab → · Contrast checker → · Palette generator →

#4340D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva