#4234CC#4234CC

#4234CC is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.3% C 0.221 H 277.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4234CC
RGBrgb(66, 52, 204)
HSLhsl(246, 60%, 50%)
HSVhsv(246, 75%, 80%)
CMYKcmyk(67.6%, 74.5%, 0%, 20%)
CIE-LABlab(33.93, 51.17, -75.95)
CIE-LCHlch(33.93, 91.58, 303.97°)
OKLaboklab(45.26% 0.0269 -0.2195)
OKLCHoklch(45.26% 0.221 277)
XYZxyz(14.3703, 7.9726, 57.8966)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4234CC #BECC34
analogous
#3472CC #4234CC #8E34CC
triadic
#4234CC #CC4234 #34CC42
tetradic
#4234CC #CC3472 #BECC34 #34CC8E
square
#4234CC #CC3472 #BECC34 #34CC8E
split-complementary
#4234CC #CC8E34 #72CC34
monochromatic
#221B6B #32279C #4234CC #7065D8 #9D96E5

Accessibility & contrast

On white

8.09
#4234CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4234CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4234CC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4234CC#FFFFFF#000000##FFFFFF
##4234CC1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4234cc;
/* rgb */ color: rgb(66, 52, 204);
/* oklch */ color: oklch(45.3% 0.221 277.0);
Tailwind
colors: {
  custom: {
    50: '#896edd',
    500: '#4234cc',
    950: '#000000',
  },
}
SCSS
$custom: #4234cc;
$custom-light: #896edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4234cc",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 245.526,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.2211,
    "h": 277
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#4234CC
secondary
#CAD08C
accent
#E345D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4234CC

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

Preview Lab → · Contrast checker → · Palette generator →

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