#4340D1#4340D1

#4340D1 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.215 H 275.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4340D1
RGBrgb(67, 64, 209)
HSLhsl(241, 61%, 54%)
HSVhsv(241, 69%, 82%)
CMYKcmyk(67.9%, 69.4%, 0%, 18%)
CIE-LABlab(36.86, 46.23, -74.02)
CIE-LCHlch(36.86, 87.27, 301.99°)
OKLaboklab(47.51% 0.0201 -0.2138)
OKLCHoklch(47.51% 0.215 275.4)
XYZxyz(15.6530, 9.4621, 61.3107)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340D1 #CED140
analogous
#4085D1 #4340D1 #8B40D1
triadic
#4340D1 #D14340 #40D143
tetradic
#4340D1 #D14085 #CED140 #40D18B
square
#4340D1 #D14085 #CED140 #40D18B
split-complementary
#4340D1 #D18B40 #85D140
monochromatic
#1F1D79 #2C29AB #4340D1 #7471DD #A4A3E9

Accessibility & contrast

On white

7.26
#4340D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4340D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340D1
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340D1#FFFFFF#000000##FFFFFF
##4340D11.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD5
Deuteranopia (green-blind)
#0050CE
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4340d1;
/* rgb */ color: rgb(67, 64, 209);
/* oklch */ color: oklch(47.5% 0.215 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a76e0',
    500: '#4340d1',
    950: '#000000',
  },
}
SCSS
$custom: #4340d1;
$custom-light: #8a76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4340d1",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 241.241,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.2148,
    "h": 275.4
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#4340D1
secondary
#D4D597
accent
#E444E1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340D1

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

Preview Lab → · Contrast checker → · Palette generator →

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