#4235C9#4235C9

#4235C9 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.217 H 277.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4235C9
RGBrgb(66, 53, 201)
HSLhsl(245, 58%, 50%)
HSVhsv(245, 74%, 79%)
CMYKcmyk(67.2%, 73.6%, 0%, 21.2%)
CIE-LABlab(33.82, 49.70, -74.38)
CIE-LCHlch(33.82, 89.46, 303.75°)
OKLaboklab(45.1% 0.0269 -0.2149)
OKLCHoklch(45.1% 0.217 277.1)
XYZxyz(14.0591, 7.9203, 56.0349)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235C9 #BCC935
analogous
#3572C9 #4235C9 #8C35C9
triadic
#4235C9 #C94235 #35C942
tetradic
#4235C9 #C93572 #BCC935 #35C98C
square
#4235C9 #C93572 #BCC935 #35C98C
split-complementary
#4235C9 #C98C35 #72C935
monochromatic
#221B68 #322899 #4235C9 #6F65D6 #9C95E3

Accessibility & contrast

On white

8.13
#4235C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4235C9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235C9#FFFFFF#000000##FFFFFF
##4235C91.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4235c9;
/* rgb */ color: rgb(66, 53, 201);
/* oklch */ color: oklch(45.1% 0.217 277.1);
Tailwind
colors: {
  custom: {
    50: '#886fdb',
    500: '#4235c9',
    950: '#000000',
  },
}
SCSS
$custom: #4235c9;
$custom-light: #886fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4235c9",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 245.27,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.21658,
    "h": 277.1
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4235C9

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

Preview Lab → · Contrast checker → · Palette generator →

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