#4234C6#4234C6

#4234C6 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.214 H 277.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4234C6
RGBrgb(66, 52, 198)
HSLhsl(246, 58%, 49%)
HSVhsv(246, 74%, 78%)
CMYKcmyk(66.7%, 73.7%, 0%, 22.4%)
CIE-LABlab(33.33, 49.31, -73.43)
CIE-LCHlch(33.33, 88.45, 303.88°)
OKLaboklab(44.66% 0.0281 -0.2121)
OKLCHoklch(44.66% 0.214 277.6)
XYZxyz(13.6645, 7.6903, 54.1794)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4234C6 #B8C634
analogous
#346FC6 #4234C6 #8B34C6
triadic
#4234C6 #C64234 #34C642
tetradic
#4234C6 #C6346F #B8C634 #34C68B
square
#4234C6 #C6346F #B8C634 #34C68B
split-complementary
#4234C6 #C68B34 #6FC634
monochromatic
#221B65 #322796 #4234C6 #6D62D6 #9A92E2

Accessibility & contrast

On white

8.27
#4234C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4234C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4234C6
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4234C6#FFFFFF#000000##FFFFFF
##4234C61.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4234c6;
/* rgb */ color: rgb(66, 52, 198);
/* oklch */ color: oklch(44.7% 0.214 277.6);
Tailwind
colors: {
  custom: {
    50: '#886ed9',
    500: '#4234c6',
    950: '#000000',
  },
}
SCSS
$custom: #4234c6;
$custom-light: #886ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4234c6",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 245.753,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.21399,
    "h": 277.6
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#4234C6
secondary
#C7CD89
accent
#E246D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4234C6

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

Preview Lab → · Contrast checker → · Palette generator →

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