#4340BD#4340BD

#4340BD is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.190 H 276.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4340BD
RGBrgb(67, 64, 189)
HSLhsl(241, 49%, 50%)
HSVhsv(241, 66%, 74%)
CMYKcmyk(64.6%, 66.1%, 0%, 25.9%)
CIE-LABlab(35.07, 39.65, -65.30)
CIE-LCHlch(35.07, 76.39, 301.27°)
OKLaboklab(45.68% 0.0227 -0.1883)
OKLCHoklch(45.68% 0.19 276.9)
XYZxyz(13.3305, 8.5331, 49.0788)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340BD #BABD40
analogous
#407CBD #4340BD #8240BD
triadic
#4340BD #BD4340 #40BD43
tetradic
#4340BD #BD407C #BABD40 #40BD82
square
#4340BD #BD407C #BABD40 #40BD82
split-complementary
#4340BD #BD8240 #7CBD40
monochromatic
#232162 #33318F #4340BD #6F6DCD #9C9ADD

Accessibility & contrast

On white

7.76
#4340BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4340BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340BD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340BD#FFFFFF#000000##FFFFFF
##4340BD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4340bd;
/* rgb */ color: rgb(67, 64, 189);
/* oklch */ color: oklch(45.7% 0.190 276.9);
Tailwind
colors: {
  custom: {
    50: '#8675d2',
    500: '#4340bd',
    950: '#000000',
  },
}
SCSS
$custom: #4340bd;
$custom-light: #8675d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4340bd",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 241.44,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.18969,
    "h": 276.9
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#4340BD
secondary
#C8C990
accent
#D94FD6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4340BD

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

Preview Lab → · Contrast checker → · Palette generator →

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