#4235C7#4235C7

#4235C7 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.214 H 277.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4235C7
RGBrgb(66, 53, 199)
HSLhsl(245, 58%, 49%)
HSVhsv(245, 73%, 78%)
CMYKcmyk(66.8%, 73.4%, 0%, 22%)
CIE-LABlab(33.62, 49.08, -73.54)
CIE-LCHlch(33.62, 88.41, 303.72°)
OKLaboklab(44.9% 0.0273 -0.2124)
OKLCHoklch(44.9% 0.214 277.3)
XYZxyz(13.8253, 7.8268, 54.8039)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235C7 #BAC735
analogous
#3571C7 #4235C7 #8B35C7
triadic
#4235C7 #C74235 #35C742
tetradic
#4235C7 #C73571 #BAC735 #35C78B
square
#4235C7 #C73571 #BAC735 #35C78B
split-complementary
#4235C7 #C78B35 #71C735
monochromatic
#221B66 #322897 #4235C7 #6E64D6 #9B94E2

Accessibility & contrast

On white

8.19
#4235C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4235C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235C7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235C7#FFFFFF#000000##FFFFFF
##4235C71.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4235c7;
/* rgb */ color: rgb(66, 53, 199);
/* oklch */ color: oklch(44.9% 0.214 277.3);
Tailwind
colors: {
  custom: {
    50: '#886fd9',
    500: '#4235c7',
    950: '#000000',
  },
}
SCSS
$custom: #4235c7;
$custom-light: #886fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4235c7",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 245.342,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.21419,
    "h": 277.3
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4235C7

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

Preview Lab → · Contrast checker → · Palette generator →

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