#4235C8#4235C8

#4235C8 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.215 H 277.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4235C8
RGBrgb(66, 53, 200)
HSLhsl(245, 58%, 50%)
HSVhsv(245, 74%, 78%)
CMYKcmyk(67%, 73.5%, 0%, 21.6%)
CIE-LABlab(33.72, 49.39, -73.96)
CIE-LCHlch(33.72, 88.94, 303.73°)
OKLaboklab(45% 0.0271 -0.2137)
OKLCHoklch(45% 0.215 277.2)
XYZxyz(13.9418, 7.8734, 55.4174)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235C8 #BBC835
analogous
#3572C8 #4235C8 #8C35C8
triadic
#4235C8 #C84235 #35C842
tetradic
#4235C8 #C83572 #BBC835 #35C88C
square
#4235C8 #C83572 #BBC835 #35C88C
split-complementary
#4235C8 #C88C35 #72C835
monochromatic
#221B67 #322898 #4235C8 #6E64D6 #9C95E3

Accessibility & contrast

On white

8.16
#4235C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4235C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235C8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235C8#FFFFFF#000000##FFFFFF
##4235C81.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4235c8;
/* rgb */ color: rgb(66, 53, 200);
/* oklch */ color: oklch(45.0% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#886fda',
    500: '#4235c8',
    950: '#000000',
  },
}
SCSS
$custom: #4235c8;
$custom-light: #886fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4235c8",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 245.306,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.21538,
    "h": 277.2
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#4235C8
secondary
#C8CE8B
accent
#E146D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4235C8

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

Preview Lab → · Contrast checker → · Palette generator →

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