#4340DA#4340DA

#4340DA is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.226 H 274.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4340DA
RGBrgb(67, 64, 218)
HSLhsl(241, 68%, 55%)
HSVhsv(241, 71%, 85%)
CMYKcmyk(69.3%, 70.6%, 0%, 14.5%)
CIE-LABlab(37.70, 49.13, -77.82)
CIE-LCHlch(37.70, 92.03, 302.27°)
OKLaboklab(48.37% 0.0188 -0.2249)
OKLCHoklch(48.37% 0.226 274.8)
XYZxyz(16.7988, 9.9205, 67.3456)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340DA #D7DA40
analogous
#408ADA #4340DA #9040DA
triadic
#4340DA #DA4340 #40DA43
tetradic
#4340DA #DA408A #D7DA40 #40DA90
square
#4340DA #DA408A #D7DA40 #40DA90
split-complementary
#4340DA #DA9040 #8ADA40
monochromatic
#1C1A86 #2724B9 #4340DA #7573E4 #A8A7EE

Accessibility & contrast

On white

7.04
#4340DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4340DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340DA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340DA#FFFFFF#000000##FFFFFF
##4340DA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0052D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4340da;
/* rgb */ color: rgb(67, 64, 218);
/* oklch */ color: oklch(48.4% 0.226 274.8);
Tailwind
colors: {
  custom: {
    50: '#8b76e7',
    500: '#4340da',
    950: '#000000',
  },
}
SCSS
$custom: #4340da;
$custom-light: #8b76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4340da",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 241.169,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.22573,
    "h": 274.8
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#4340DA
secondary
#DADB9B
accent
#EA3DE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4340DA

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

Preview Lab → · Contrast checker → · Palette generator →

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