#4235CD#4235CD

#4235CD is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.221 H 276.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4235CD
RGBrgb(66, 53, 205)
HSLhsl(245, 60%, 51%)
HSVhsv(245, 74%, 80%)
CMYKcmyk(67.8%, 74.1%, 0%, 19.6%)
CIE-LABlab(34.21, 50.95, -76.06)
CIE-LCHlch(34.21, 91.55, 303.82°)
OKLaboklab(45.5% 0.0261 -0.2198)
OKLCHoklch(45.5% 0.221 276.8)
XYZxyz(14.5357, 8.1109, 58.5453)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235CD #C0CD35
analogous
#3574CD #4235CD #8E35CD
triadic
#4235CD #CD4235 #35CD42
tetradic
#4235CD #CD3574 #C0CD35 #35CD8E
square
#4235CD #CD3574 #C0CD35 #35CD8E
split-complementary
#4235CD #CD8E35 #74CD35
monochromatic
#221B6D #31279E #4235CD #7066D9 #9E97E5

Accessibility & contrast

On white

8.01
#4235CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4235CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235CD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235CD#FFFFFF#000000##FFFFFF
##4235CD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4235cd;
/* rgb */ color: rgb(66, 53, 205);
/* oklch */ color: oklch(45.5% 0.221 276.8);
Tailwind
colors: {
  custom: {
    50: '#896fde',
    500: '#4235cd',
    950: '#000000',
  },
}
SCSS
$custom: #4235cd;
$custom-light: #896fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4235cd",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 245.132,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.22132,
    "h": 276.8
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#4235CD
secondary
#CBD18D
accent
#E344D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4235CD

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

Preview Lab → · Contrast checker → · Palette generator →

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