#4340B3#4340B3

#4340B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.177 H 277.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4340B3
RGBrgb(67, 64, 179)
HSLhsl(242, 47%, 48%)
HSVhsv(242, 64%, 70%)
CMYKcmyk(62.6%, 64.2%, 0%, 29.8%)
CIE-LABlab(34.22, 36.32, -60.78)
CIE-LCHlch(34.22, 70.81, 300.86°)
OKLaboklab(44.79% 0.0236 -0.1751)
OKLCHoklch(44.79% 0.177 277.7)
XYZxyz(12.2822, 8.1138, 43.5580)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4340B3 #B0B340
analogous
#4077B3 #4340B3 #7C40B3
triadic
#4340B3 #B34340 #40B343
tetradic
#4340B3 #B34077 #B0B340 #40B37C
square
#4340B3 #B34077 #B0B340 #40B37C
split-complementary
#4340B3 #B37C40 #77B340
monochromatic
#212059 #323086 #4340B3 #6A67C9 #9694D9

Accessibility & contrast

On white

8.01
#4340B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4340B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4340B3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4340B3#FFFFFF#000000##FFFFFF
##4340B31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4340b3;
/* rgb */ color: rgb(67, 64, 179);
/* oklch */ color: oklch(44.8% 0.177 277.7);
Tailwind
colors: {
  custom: {
    50: '#8475cb',
    500: '#4340b3',
    950: '#000000',
  },
}
SCSS
$custom: #4340b3;
$custom-light: #8475cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4340b3",
  "rgb": {
    "r": 67,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 241.565,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44793,
    "c": 0.17667,
    "h": 277.7
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#4340B3
secondary
#C3C48A
accent
#D751D3
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4340B3

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

Preview Lab → · Contrast checker → · Palette generator →

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