#4235DC#4235DC

#4235DC is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.0% C 0.239 H 275.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4235DC
RGBrgb(66, 53, 220)
HSLhsl(245, 70%, 54%)
HSVhsv(245, 76%, 86%)
CMYKcmyk(70%, 75.9%, 0%, 13.7%)
CIE-LABlab(35.73, 55.56, -82.21)
CIE-LCHlch(35.73, 99.23, 304.05°)
OKLaboklab(47.02% 0.0229 -0.2377)
OKLCHoklch(47.02% 0.239 275.5)
XYZxyz(16.4339, 8.8702, 68.5423)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235DC #CFDC35
analogous
#357BDC #4235DC #9535DC
triadic
#4235DC #DC4235 #35DC42
tetradic
#4235DC #DC357B #CFDC35 #35DC95
square
#4235DC #DC357B #CFDC35 #35DC95
split-complementary
#4235DC #DC9535 #7BDC35
monochromatic
#1F1680 #2B1FB5 #4235DC #7369E5 #A49DEE

Accessibility & contrast

On white

7.57
#4235DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4235DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235DC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235DC#FFFFFF#000000##FFFFFF
##4235DC1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE1
Deuteranopia (green-blind)
#004CD9
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4235dc;
/* rgb */ color: rgb(66, 53, 220);
/* oklch */ color: oklch(47.0% 0.239 275.5);
Tailwind
colors: {
  custom: {
    50: '#8c70e8',
    500: '#4235dc',
    950: '#000000',
  },
}
SCSS
$custom: #4235dc;
$custom-light: #8c70e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4235dc",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 244.671,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.2388,
    "h": 275.5
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#4235DC
secondary
#D5DA93
accent
#ED3BDF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4235DC

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

Preview Lab → · Contrast checker → · Palette generator →

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