#4235D3#4235D3

#4235D3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.1% C 0.228 H 276.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4235D3
RGBrgb(66, 53, 211)
HSLhsl(245, 64%, 52%)
HSVhsv(245, 75%, 83%)
CMYKcmyk(68.7%, 74.9%, 0%, 17.3%)
CIE-LABlab(34.81, 52.81, -78.54)
CIE-LCHlch(34.81, 94.64, 303.91°)
OKLaboklab(46.1% 0.0248 -0.227)
OKLCHoklch(46.1% 0.228 276.2)
XYZxyz(15.2739, 8.4062, 62.4330)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235D3 #C6D335
analogous
#3577D3 #4235D3 #9135D3
triadic
#4235D3 #D34235 #35D342
tetradic
#4235D3 #D33577 #C6D335 #35D391
square
#4235D3 #D33577 #C6D335 #35D391
split-complementary
#4235D3 #D39135 #77D335
monochromatic
#211974 #2F24A7 #4235D3 #7167DE #A09AE9

Accessibility & contrast

On white

7.83
#4235D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4235D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235D3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235D3#FFFFFF#000000##FFFFFF
##4235D31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D8
Deuteranopia (green-blind)
#004BD0
Tritanopia (blue-blind)
#006382
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4235d3;
/* rgb */ color: rgb(66, 53, 211);
/* oklch */ color: oklch(46.1% 0.228 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a6fe2',
    500: '#4235d3',
    950: '#000000',
  },
}
SCSS
$custom: #4235d3;
$custom-light: #8a6fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4235d3",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 244.937,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46099,
    "c": 0.22837,
    "h": 276.2
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#4235D3
secondary
#CFD58F
accent
#E741DA
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4235D3

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

Preview Lab → · Contrast checker → · Palette generator →

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