#4340DF#4340DF

#4340DF is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.232 H 274.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4340DF
RGBrgb(67, 64, 223)
HSLhsl(241, 71%, 56%)
HSVhsv(241, 71%, 87%)
CMYKcmyk(70%, 71.3%, 0%, 12.5%)
CIE-LABlab(38.17, 50.74, -79.90)
CIE-LCHlch(38.17, 94.65, 302.42°)
OKLaboklab(48.85% 0.018 -0.231)
OKLCHoklch(48.85% 0.232 274.5)
XYZxyz(17.4630, 10.1861, 70.8435)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340DF #DCDF40
analogous
#408DDF #4340DF #9340DF
triadic
#4340DF #DF4340 #40DF43
tetradic
#4340DF #DF408D #DCDF40 #40DF93
square
#4340DF #DF408D #DCDF40 #40DF93
split-complementary
#4340DF #DF9340 #8DDF40
monochromatic
#1A188D #2320C1 #4340DF #7774E8 #AAA9F1

Accessibility & contrast

On white

6.91
#4340DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4340DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4340DF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340DF#FFFFFF#000000##FFFFFF
##4340DF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E4
Deuteranopia (green-blind)
#0052DC
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4340df;
/* rgb */ color: rgb(67, 64, 223);
/* oklch */ color: oklch(48.9% 0.232 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c76ea',
    500: '#4340df',
    950: '#000000',
  },
}
SCSS
$custom: #4340df;
$custom-light: #8c76ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4340df",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 241.132,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.23172,
    "h": 274.5
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#4340DF
secondary
#DDDE9D
accent
#EE3AEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4340DF

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

Preview Lab → · Contrast checker → · Palette generator →

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