#4235CA#4235CA

#4235CA is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.218 H 277.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4235CA
RGBrgb(66, 53, 202)
HSLhsl(245, 58%, 50%)
HSVhsv(245, 74%, 79%)
CMYKcmyk(67.3%, 73.8%, 0%, 20.8%)
CIE-LABlab(33.92, 50.02, -74.80)
CIE-LCHlch(33.92, 89.98, 303.77°)
OKLaboklab(45.2% 0.0267 -0.2161)
OKLCHoklch(45.2% 0.218 277)
XYZxyz(14.1771, 7.9675, 56.6564)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235CA #BDCA35
analogous
#3572CA #4235CA #8D35CA
triadic
#4235CA #CA4235 #35CA42
tetradic
#4235CA #CA3572 #BDCA35 #35CA8D
square
#4235CA #CA3572 #BDCA35 #35CA8D
split-complementary
#4235CA #CA8D35 #72CA35
monochromatic
#221C69 #32289A #4235CA #6F65D7 #9D96E3

Accessibility & contrast

On white

8.10
#4235CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4235CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235CA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235CA#FFFFFF#000000##FFFFFF
##4235CA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4235ca;
/* rgb */ color: rgb(66, 53, 202);
/* oklch */ color: oklch(45.2% 0.218 277.0);
Tailwind
colors: {
  custom: {
    50: '#896fdb',
    500: '#4235ca',
    950: '#000000',
  },
}
SCSS
$custom: #4235ca;
$custom-light: #896fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4235ca",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 245.235,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.21777,
    "h": 277
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#4235CA
secondary
#C9CF8C
accent
#E246D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4235CA

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

Preview Lab → · Contrast checker → · Palette generator →

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