#4342CF#4342CF

#4342CF is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.6% C 0.210 H 275.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4342CF
RGBrgb(67, 66, 207)
HSLhsl(240, 59%, 54%)
HSVhsv(240, 68%, 81%)
CMYKcmyk(67.6%, 68.1%, 0%, 18.8%)
CIE-LABlab(37.10, 44.41, -72.46)
CIE-LCHlch(37.10, 84.99, 301.50°)
OKLaboklab(47.63% 0.0191 -0.2093)
OKLCHoklch(47.63% 0.21 275.2)
XYZxyz(15.5217, 9.5933, 60.0531)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342CF #CECF42
analogous
#4287CF #4342CF #8A42CF
triadic
#4342CF #CF4342 #42CF43
tetradic
#4342CF #CF4287 #CECF42 #42CF8A
square
#4342CF #CF4287 #CECF42 #42CF8A
split-complementary
#4342CF #CF8A42 #87CF42
monochromatic
#1F1F78 #2C2BA9 #4342CF #7473DB #A4A4E8

Accessibility & contrast

On white

7.19
#4342CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4342CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342CF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342CF#FFFFFF#000000##FFFFFF
##4342CF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4342cf;
/* rgb */ color: rgb(67, 66, 207);
/* oklch */ color: oklch(47.6% 0.210 275.2);
Tailwind
colors: {
  custom: {
    50: '#8977df',
    500: '#4342cf',
    950: '#000000',
  },
}
SCSS
$custom: #4342cf;
$custom-light: #8977df;
$custom-dark: #000000;
JSON
{
  "hex": "#4342cf",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 240.426,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.21017,
    "h": 275.2
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#4342CF
secondary
#D4D598
accent
#E345E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4342CF

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

Preview Lab → · Contrast checker → · Palette generator →

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