#4340BC#4340BC

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

Color values

HEX#4340BC
RGBrgb(67, 64, 188)
HSLhsl(241, 49%, 49%)
HSVhsv(241, 66%, 74%)
CMYKcmyk(64.4%, 66%, 0%, 26.3%)
CIE-LABlab(34.98, 39.32, -64.85)
CIE-LCHlch(34.98, 75.84, 301.23°)
OKLaboklab(45.59% 0.0228 -0.187)
OKLCHoklch(45.59% 0.188 276.9)
XYZxyz(13.2223, 8.4898, 48.5091)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340BC #B9BC40
analogous
#407BBC #4340BC #8140BC
triadic
#4340BC #BC4340 #40BC43
tetradic
#4340BC #BC407B #B9BC40 #40BC81
square
#4340BC #BC407B #B9BC40 #40BC81
split-complementary
#4340BC #BC8140 #7BBC40
monochromatic
#222161 #33308E #4340BC #6F6CCD #9B9ADD

Accessibility & contrast

On white

7.78
#4340BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4340BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340BC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340BC#FFFFFF#000000##FFFFFF
##4340BC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4340bc;
/* rgb */ color: rgb(67, 64, 188);
/* oklch */ color: oklch(45.6% 0.188 276.9);
Tailwind
colors: {
  custom: {
    50: '#8575d1',
    500: '#4340bc',
    950: '#000000',
  },
}
SCSS
$custom: #4340bc;
$custom-light: #8575d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4340bc",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 241.452,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.1884,
    "h": 276.9
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#4340BC
secondary
#C7C98F
accent
#D94FD5
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4340BC

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

Preview Lab → · Contrast checker → · Palette generator →

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