#4340CE#4340CE

#4340CE is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.211 H 275.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4340CE
RGBrgb(67, 64, 206)
HSLhsl(241, 59%, 53%)
HSVhsv(241, 69%, 81%)
CMYKcmyk(67.5%, 68.9%, 0%, 19.2%)
CIE-LABlab(36.58, 45.25, -72.73)
CIE-LCHlch(36.58, 85.66, 301.89°)
OKLaboklab(47.23% 0.0206 -0.2101)
OKLCHoklch(47.23% 0.211 275.6)
XYZxyz(15.2850, 9.3149, 59.3730)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340CE #CBCE40
analogous
#4084CE #4340CE #8A40CE
triadic
#4340CE #CE4340 #40CE43
tetradic
#4340CE #CE4084 #CBCE40 #40CE8A
square
#4340CE #CE4084 #CBCE40 #40CE8A
split-complementary
#4340CE #CE8A40 #84CE40
monochromatic
#201E75 #2D2BA6 #4340CE #7371DA #A3A1E7

Accessibility & contrast

On white

7.33
#4340CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4340CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340CE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340CE#FFFFFF#000000##FFFFFF
##4340CE1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4340ce;
/* rgb */ color: rgb(67, 64, 206);
/* oklch */ color: oklch(47.2% 0.211 275.6);
Tailwind
colors: {
  custom: {
    50: '#8976de',
    500: '#4340ce',
    950: '#000000',
  },
}
SCSS
$custom: #4340ce;
$custom-light: #8976de;
$custom-dark: #000000;
JSON
{
  "hex": "#4340ce",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 241.268,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47233,
    "c": 0.2111,
    "h": 275.6
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#4340CE
secondary
#D2D496
accent
#E245DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340CE

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

Preview Lab → · Contrast checker → · Palette generator →

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