#4235C4#4235C4

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

Color values

HEX#4235C4
RGBrgb(66, 53, 196)
HSLhsl(245, 57%, 49%)
HSVhsv(245, 73%, 77%)
CMYKcmyk(66.3%, 73%, 0%, 23.1%)
CIE-LABlab(33.33, 48.14, -72.27)
CIE-LCHlch(33.33, 86.83, 303.67°)
OKLaboklab(44.6% 0.0279 -0.2087)
OKLCHoklch(44.6% 0.211 277.6)
XYZxyz(13.4804, 7.6888, 52.9875)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235C4 #B7C435
analogous
#356FC4 #4235C4 #8A35C4
triadic
#4235C4 #C44235 #35C442
tetradic
#4235C4 #C4356F #B7C435 #35C48A
square
#4235C4 #C4356F #B7C435 #35C48A
split-complementary
#4235C4 #C48A35 #6FC435
monochromatic
#221B64 #322894 #4235C4 #6C62D4 #9992E1

Accessibility & contrast

On white

8.27
#4235C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4235C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235C4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235C4#FFFFFF#000000##FFFFFF
##4235C41.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)
#0054C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4235c4;
/* rgb */ color: rgb(66, 53, 196);
/* oklch */ color: oklch(44.6% 0.211 277.6);
Tailwind
colors: {
  custom: {
    50: '#876ed7',
    500: '#4235c4',
    950: '#000000',
  },
}
SCSS
$custom: #4235c4;
$custom-light: #876ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4235c4",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 245.455,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.21059,
    "h": 277.6
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#4235C4
secondary
#C6CC88
accent
#E147D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4235C4

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

Preview Lab → · Contrast checker → · Palette generator →

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