#4342BC#4342BC

#4342BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.186 H 276.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4342BC
RGBrgb(67, 66, 188)
HSLhsl(240, 48%, 50%)
HSVhsv(240, 65%, 74%)
CMYKcmyk(64.4%, 64.9%, 0%, 26.3%)
CIE-LABlab(35.44, 38.11, -64.10)
CIE-LCHlch(35.44, 74.57, 300.73°)
OKLaboklab(45.92% 0.0212 -0.1848)
OKLCHoklch(45.92% 0.186 276.5)
XYZxyz(13.3371, 8.7195, 48.5474)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342BC #BBBC42
analogous
#427EBC #4342BC #8042BC
triadic
#4342BC #BC4342 #42BC43
tetradic
#4342BC #BC427E #BBBC42 #42BC80
square
#4342BC #BC427E #BBBC42 #42BC80
split-complementary
#4342BC #BC8042 #7EBC42
monochromatic
#232261 #33328F #4342BC #706FCC #9D9CDC

Accessibility & contrast

On white

7.65
#4342BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4342BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342BC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342BC#FFFFFF#000000##FFFFFF
##4342BC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4342bc;
/* rgb */ color: rgb(67, 66, 188);
/* oklch */ color: oklch(45.9% 0.186 276.5);
Tailwind
colors: {
  custom: {
    50: '#8577d1',
    500: '#4342bc',
    950: '#000000',
  },
}
SCSS
$custom: #4342bc;
$custom-light: #8577d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4342bc",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 240.492,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.18603,
    "h": 276.5
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#4342BC
secondary
#C8C991
accent
#D850D7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4342BC

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

Preview Lab → · Contrast checker → · Palette generator →

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