#4340D0#4340D0

#4340D0 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.214 H 275.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4340D0
RGBrgb(67, 64, 208)
HSLhsl(241, 61%, 53%)
HSVhsv(241, 69%, 82%)
CMYKcmyk(67.8%, 69.2%, 0%, 18.4%)
CIE-LABlab(36.77, 45.90, -73.59)
CIE-LCHlch(36.77, 86.73, 301.95°)
OKLaboklab(47.42% 0.0203 -0.2126)
OKLCHoklch(47.42% 0.214 275.4)
XYZxyz(15.5296, 9.4127, 60.6607)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340D0 #CDD040
analogous
#4085D0 #4340D0 #8B40D0
triadic
#4340D0 #D04340 #40D043
tetradic
#4340D0 #D04085 #CDD040 #40D08B
square
#4340D0 #D04085 #CDD040 #40D08B
split-complementary
#4340D0 #D08B40 #85D040
monochromatic
#1F1E78 #2C2AA9 #4340D0 #7371DC #A4A2E8

Accessibility & contrast

On white

7.28
#4340D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4340D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340D0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340D0#FFFFFF#000000##FFFFFF
##4340D01.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#0050CD
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4340d0;
/* rgb */ color: rgb(67, 64, 208);
/* oklch */ color: oklch(47.4% 0.214 275.4);
Tailwind
colors: {
  custom: {
    50: '#8976e0',
    500: '#4340d0',
    950: '#000000',
  },
}
SCSS
$custom: #4340d0;
$custom-light: #8976e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4340d0",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 241.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.21356,
    "h": 275.4
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#4340D0
secondary
#D4D597
accent
#E444E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340D0

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

Preview Lab → · Contrast checker → · Palette generator →

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