#4234CD#4234CD

#4234CD is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.4% C 0.222 H 276.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4234CD
RGBrgb(66, 52, 205)
HSLhsl(245, 60%, 50%)
HSVhsv(245, 75%, 80%)
CMYKcmyk(67.8%, 74.6%, 0%, 19.6%)
CIE-LABlab(34.03, 51.48, -76.37)
CIE-LCHlch(34.03, 92.10, 303.98°)
OKLaboklab(45.36% 0.0266 -0.2207)
OKLCHoklch(45.36% 0.222 276.9)
XYZxyz(14.4906, 8.0207, 58.5303)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4234CD #BFCD34
analogous
#3473CD #4234CD #8E34CD
triadic
#4234CD #CD4234 #34CD42
tetradic
#4234CD #CD3473 #BFCD34 #34CD8E
square
#4234CD #CD3473 #BFCD34 #34CD8E
split-complementary
#4234CD #CD8E34 #73CD34
monochromatic
#221B6C #32279D #4234CD #7065D9 #9D96E5

Accessibility & contrast

On white

8.06
#4234CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4234CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4234CD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4234CD#FFFFFF#000000##FFFFFF
##4234CD1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4234cd;
/* rgb */ color: rgb(66, 52, 205);
/* oklch */ color: oklch(45.4% 0.222 276.9);
Tailwind
colors: {
  custom: {
    50: '#896ede',
    500: '#4234cd',
    950: '#000000',
  },
}
SCSS
$custom: #4234cd;
$custom-light: #896ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4234cd",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 245.49,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.22227,
    "h": 276.9
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#4234CD
secondary
#CAD18C
accent
#E444D5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4234CD

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

Preview Lab → · Contrast checker → · Palette generator →

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