#4235C2#4235C2

#4235C2 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.208 H 277.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4235C2
RGBrgb(66, 53, 194)
HSLhsl(246, 57%, 48%)
HSVhsv(246, 73%, 76%)
CMYKcmyk(66%, 72.7%, 0%, 23.9%)
CIE-LABlab(33.13, 47.51, -71.42)
CIE-LCHlch(33.13, 85.77, 303.63°)
OKLaboklab(44.41% 0.0283 -0.2062)
OKLCHoklch(44.41% 0.208 277.8)
XYZxyz(13.2543, 7.5984, 51.7966)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235C2 #B5C235
analogous
#356EC2 #4235C2 #8835C2
triadic
#4235C2 #C24235 #35C242
tetradic
#4235C2 #C2356E #B5C235 #35C288
square
#4235C2 #C2356E #B5C235 #35C288
split-complementary
#4235C2 #C28835 #6EC235
monochromatic
#211B62 #322892 #4235C2 #6B60D4 #9891E1

Accessibility & contrast

On white

8.33
#4235C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4235C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235C2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235C2#FFFFFF#000000##FFFFFF
##4235C21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4235c2;
/* rgb */ color: rgb(66, 53, 194);
/* oklch */ color: oklch(44.4% 0.208 277.8);
Tailwind
colors: {
  custom: {
    50: '#876ed6',
    500: '#4235c2',
    950: '#000000',
  },
}
SCSS
$custom: #4235c2;
$custom-light: #876ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4235c2",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 245.532,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.20818,
    "h": 277.8
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#4235C2
secondary
#C5CC87
accent
#E047D2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4235C2

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

Preview Lab → · Contrast checker → · Palette generator →

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