#4234D1#4234D1

#4234D1 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.8% C 0.227 H 276.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4234D1
RGBrgb(66, 52, 209)
HSLhsl(245, 63%, 51%)
HSVhsv(245, 75%, 82%)
CMYKcmyk(68.4%, 75.1%, 0%, 18%)
CIE-LABlab(34.43, 52.71, -78.02)
CIE-LCHlch(34.43, 94.16, 304.04°)
OKLaboklab(45.77% 0.0258 -0.2255)
OKLCHoklch(45.77% 0.227 276.5)
XYZxyz(14.9796, 8.2163, 61.1057)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4234D1 #C3D134
analogous
#3474D1 #4234D1 #9034D1
triadic
#4234D1 #D14234 #34D142
tetradic
#4234D1 #D13474 #C3D134 #34D190
square
#4234D1 #D13474 #C3D134 #34D190
split-complementary
#4234D1 #D19034 #74D134
monochromatic
#211A71 #3025A3 #4234D1 #7066DC #9F98E8

Accessibility & contrast

On white

7.94
#4234D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4234D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4234D1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4234D1#FFFFFF#000000##FFFFFF
##4234D11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4234d1;
/* rgb */ color: rgb(66, 52, 209);
/* oklch */ color: oklch(45.8% 0.227 276.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ee0',
    500: '#4234d1',
    950: '#000000',
  },
}
SCSS
$custom: #4234d1;
$custom-light: #8a6ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4234d1",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 245.35,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.22697,
    "h": 276.5
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#4234D1
secondary
#CDD38E
accent
#E642D7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4234D1

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

Preview Lab → · Contrast checker → · Palette generator →

#4234D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva