#4342CC#4342CC

#4342CC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.206 H 275.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4342CC
RGBrgb(67, 66, 204)
HSLhsl(240, 58%, 53%)
HSVhsv(240, 68%, 80%)
CMYKcmyk(67.2%, 67.6%, 0%, 20%)
CIE-LABlab(36.83, 43.42, -71.16)
CIE-LCHlch(36.83, 83.37, 301.39°)
OKLaboklab(47.36% 0.0195 -0.2055)
OKLCHoklch(47.36% 0.206 275.4)
XYZxyz(15.1584, 9.4480, 58.1398)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342CC #CBCC42
analogous
#4286CC #4342CC #8842CC
triadic
#4342CC #CC4342 #42CC43
tetradic
#4342CC #CC4286 #CBCC42 #42CC88
square
#4342CC #CC4286 #CBCC42 #42CC88
split-complementary
#4342CC #CC8842 #86CC42
monochromatic
#201F74 #2D2CA4 #4342CC #7372D9 #A3A2E6

Accessibility & contrast

On white

7.27
#4342CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4342CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342CC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342CC#FFFFFF#000000##FFFFFF
##4342CC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4342cc;
/* rgb */ color: rgb(67, 66, 204);
/* oklch */ color: oklch(47.4% 0.206 275.4);
Tailwind
colors: {
  custom: {
    50: '#8877dd',
    500: '#4342cc',
    950: '#000000',
  },
}
SCSS
$custom: #4342cc;
$custom-light: #8877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4342cc",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 240.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.20643,
    "h": 275.4
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#4342CC
secondary
#D2D397
accent
#E147E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4342CC

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

Preview Lab → · Contrast checker → · Palette generator →

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