#4235CC#4235CC

#4235CC is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.220 H 276.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4235CC
RGBrgb(66, 53, 204)
HSLhsl(245, 60%, 50%)
HSVhsv(245, 74%, 80%)
CMYKcmyk(67.6%, 74%, 0%, 20%)
CIE-LABlab(34.11, 50.64, -75.64)
CIE-LCHlch(34.11, 91.03, 303.80°)
OKLaboklab(45.4% 0.0263 -0.2186)
OKLCHoklch(45.4% 0.22 276.9)
XYZxyz(14.4154, 8.0628, 57.9116)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235CC #BFCC35
analogous
#3573CC #4235CC #8E35CC
triadic
#4235CC #CC4235 #35CC42
tetradic
#4235CC #CC3573 #BFCC35 #35CC8E
square
#4235CC #CC3573 #BFCC35 #35CC8E
split-complementary
#4235CC #CC8E35 #73CC35
monochromatic
#221B6B #32279C #4235CC #7066D8 #9D97E5

Accessibility & contrast

On white

8.04
#4235CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4235CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235CC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235CC#FFFFFF#000000##FFFFFF
##4235CC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4235cc;
/* rgb */ color: rgb(66, 53, 204);
/* oklch */ color: oklch(45.4% 0.220 276.9);
Tailwind
colors: {
  custom: {
    50: '#896fdd',
    500: '#4235cc',
    950: '#000000',
  },
}
SCSS
$custom: #4235cc;
$custom-light: #896fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4235cc",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 245.166,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.22015,
    "h": 276.9
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#4235CC
secondary
#CAD08D
accent
#E345D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4235CC

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

Preview Lab → · Contrast checker → · Palette generator →

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