#4235C6#4235C6

#4235C6 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.213 H 277.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4235C6
RGBrgb(66, 53, 198)
HSLhsl(245, 58%, 49%)
HSVhsv(245, 73%, 78%)
CMYKcmyk(66.7%, 73.2%, 0%, 22.4%)
CIE-LABlab(33.52, 48.77, -73.12)
CIE-LCHlch(33.52, 87.89, 303.70°)
OKLaboklab(44.8% 0.0275 -0.2112)
OKLCHoklch(44.8% 0.213 277.4)
XYZxyz(13.7096, 7.7805, 54.1944)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235C6 #B9C635
analogous
#3571C6 #4235C6 #8B35C6
triadic
#4235C6 #C64235 #35C642
tetradic
#4235C6 #C63571 #B9C635 #35C68B
square
#4235C6 #C63571 #B9C635 #35C68B
split-complementary
#4235C6 #C68B35 #71C635
monochromatic
#221B65 #322896 #4235C6 #6D63D5 #9A93E2

Accessibility & contrast

On white

8.21
#4235C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4235C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235C6
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235C6#FFFFFF#000000##FFFFFF
##4235C61.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4235c6;
/* rgb */ color: rgb(66, 53, 198);
/* oklch */ color: oklch(44.8% 0.213 277.4);
Tailwind
colors: {
  custom: {
    50: '#886fd9',
    500: '#4235c6',
    950: '#000000',
  },
}
SCSS
$custom: #4235c6;
$custom-light: #886fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4235c6",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 245.379,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.213,
    "h": 277.4
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#4235C6
secondary
#C7CD8A
accent
#E147D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4235C6

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

Preview Lab → · Contrast checker → · Palette generator →

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