#4340DD#4340DD

#4340DD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.229 H 274.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4340DD
RGBrgb(67, 64, 221)
HSLhsl(241, 70%, 56%)
HSVhsv(241, 71%, 87%)
CMYKcmyk(69.7%, 71%, 0%, 13.3%)
CIE-LABlab(37.98, 50.10, -79.07)
CIE-LCHlch(37.98, 93.61, 302.36°)
OKLaboklab(48.66% 0.0183 -0.2286)
OKLCHoklch(48.66% 0.229 274.6)
XYZxyz(17.1950, 10.0789, 69.4318)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340DD #DADD40
analogous
#408CDD #4340DD #9140DD
triadic
#4340DD #DD4340 #40DD43
tetradic
#4340DD #DD408C #DADD40 #40DD91
square
#4340DD #DD408C #DADD40 #40DD91
split-complementary
#4340DD #DD9140 #8CDD40
monochromatic
#1B198A #2522BE #4340DD #7674E6 #A9A8EF

Accessibility & contrast

On white

6.96
#4340DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4340DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4340DD
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340DD#FFFFFF#000000##FFFFFF
##4340DD1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4340dd;
/* rgb */ color: rgb(67, 64, 221);
/* oklch */ color: oklch(48.7% 0.229 274.6);
Tailwind
colors: {
  custom: {
    50: '#8c76e9',
    500: '#4340dd',
    950: '#000000',
  },
}
SCSS
$custom: #4340dd;
$custom-light: #8c76e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4340dd",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 241.146,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.22933,
    "h": 274.6
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#4340DD
secondary
#DCDD9C
accent
#ED3BE9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4340DD

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

Preview Lab → · Contrast checker → · Palette generator →

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