#4340C9#4340C9

#4340C9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.8% C 0.205 H 275.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4340C9
RGBrgb(67, 64, 201)
HSLhsl(241, 56%, 52%)
HSVhsv(241, 68%, 79%)
CMYKcmyk(66.7%, 68.2%, 0%, 21.2%)
CIE-LABlab(36.13, 43.61, -70.58)
CIE-LCHlch(36.13, 82.96, 301.71°)
OKLaboklab(46.77% 0.0212 -0.2038)
OKLCHoklch(46.77% 0.205 275.9)
XYZxyz(14.6873, 9.0758, 56.2248)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340C9 #C6C940
analogous
#4082C9 #4340C9 #8840C9
triadic
#4340C9 #C94340 #40C943
tetradic
#4340C9 #C94082 #C6C940 #40C988
square
#4340C9 #C94082 #C6C940 #40C988
split-complementary
#4340C9 #C98840 #82C940
monochromatic
#211F6F #2F2D9F #4340C9 #7270D6 #A19FE4

Accessibility & contrast

On white

7.46
#4340C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4340C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340C9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340C9#FFFFFF#000000##FFFFFF
##4340C91.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4340c9;
/* rgb */ color: rgb(67, 64, 201);
/* oklch */ color: oklch(46.8% 0.205 275.9);
Tailwind
colors: {
  custom: {
    50: '#8876db',
    500: '#4340c9',
    950: '#000000',
  },
}
SCSS
$custom: #4340c9;
$custom-light: #8876db;
$custom-dark: #000000;
JSON
{
  "hex": "#4340c9",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 241.314,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46767,
    "c": 0.20489,
    "h": 275.9
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#4340C9
secondary
#CFD094
accent
#DF49DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340C9

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

Preview Lab → · Contrast checker → · Palette generator →

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