#4342B8#4342B8

#4342B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.6% C 0.181 H 276.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4342B8
RGBrgb(67, 66, 184)
HSLhsl(241, 47%, 49%)
HSVhsv(241, 64%, 72%)
CMYKcmyk(63.6%, 64.1%, 0%, 27.8%)
CIE-LABlab(35.10, 36.77, -62.30)
CIE-LCHlch(35.10, 72.34, 300.55°)
OKLaboklab(45.57% 0.0215 -0.1795)
OKLCHoklch(45.57% 0.181 276.8)
XYZxyz(12.9119, 8.5494, 46.3079)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342B8 #B7B842
analogous
#427CB8 #4342B8 #7E42B8
triadic
#4342B8 #B84342 #42B843
tetradic
#4342B8 #B8427C #B7B842 #42B87E
square
#4342B8 #B8427C #B7B842 #42B87E
split-complementary
#4342B8 #B87E42 #7CB842
monochromatic
#22225E #33328B #4342B8 #6D6DCB #9A9ADB

Accessibility & contrast

On white

7.75
#4342B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4342B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342B8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342B8#FFFFFF#000000##FFFFFF
##4342B81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4342b8;
/* rgb */ color: rgb(67, 66, 184);
/* oklch */ color: oklch(45.6% 0.181 276.8);
Tailwind
colors: {
  custom: {
    50: '#8477ce',
    500: '#4342b8',
    950: '#000000',
  },
}
SCSS
$custom: #4342b8;
$custom-light: #8477ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4342b8",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 240.508,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.18082,
    "h": 276.8
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#4342B8
secondary
#C6C78F
accent
#D751D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4342B8

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

Preview Lab → · Contrast checker → · Palette generator →

#4342B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva