#4340CD#4340CD

#4340CD is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.210 H 275.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4340CD
RGBrgb(67, 64, 205)
HSLhsl(241, 59%, 53%)
HSVhsv(241, 69%, 80%)
CMYKcmyk(67.3%, 68.8%, 0%, 19.6%)
CIE-LABlab(36.49, 44.92, -72.30)
CIE-LCHlch(36.49, 85.12, 301.85°)
OKLaboklab(47.14% 0.0207 -0.2088)
OKLCHoklch(47.14% 0.21 275.7)
XYZxyz(15.1640, 9.2665, 58.7353)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340CD #CACD40
analogous
#4083CD #4340CD #8A40CD
triadic
#4340CD #CD4340 #40CD43
tetradic
#4340CD #CD4083 #CACD40 #40CD8A
square
#4340CD #CD4083 #CACD40 #40CD8A
split-complementary
#4340CD #CD8A40 #83CD40
monochromatic
#201E74 #2E2BA5 #4340CD #7371DA #A2A1E6

Accessibility & contrast

On white

7.36
#4340CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4340CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340CD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340CD#FFFFFF#000000##FFFFFF
##4340CD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4340cd;
/* rgb */ color: rgb(67, 64, 205);
/* oklch */ color: oklch(47.1% 0.210 275.7);
Tailwind
colors: {
  custom: {
    50: '#8976dd',
    500: '#4340cd',
    950: '#000000',
  },
}
SCSS
$custom: #4340cd;
$custom-light: #8976dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4340cd",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 241.277,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.20986,
    "h": 275.7
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#4340CD
secondary
#D2D396
accent
#E246DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4340CD

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

Preview Lab → · Contrast checker → · Palette generator →

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