#4235B5#4235B5

#4235B5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.2% C 0.192 H 279.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4235B5
RGBrgb(66, 53, 181)
HSLhsl(246, 55%, 46%)
HSVhsv(246, 71%, 71%)
CMYKcmyk(63.5%, 70.7%, 0%, 29%)
CIE-LABlab(31.90, 43.38, -65.77)
CIE-LCHlch(31.90, 78.79, 303.41°)
OKLaboklab(43.15% 0.0307 -0.1897)
OKLCHoklch(43.15% 0.192 279.2)
XYZxyz(11.8577, 7.0397, 44.4410)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235B5 #A8B535
analogous
#3568B5 #4235B5 #8235B5
triadic
#4235B5 #B54235 #35B542
tetradic
#4235B5 #B53568 #A8B535 #35B582
square
#4235B5 #B53568 #A8B535 #35B582
split-complementary
#4235B5 #B58235 #68B535
monochromatic
#1F1956 #312786 #4235B5 #6559CE #9188DC

Accessibility & contrast

On white

8.72
#4235B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4235B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235B5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235B5#FFFFFF#000000##FFFFFF
##4235B51.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4235b5;
/* rgb */ color: rgb(66, 53, 181);
/* oklch */ color: oklch(43.2% 0.192 279.2);
Tailwind
colors: {
  custom: {
    50: '#846ecc',
    500: '#4235b5',
    950: '#000000',
  },
}
SCSS
$custom: #4235b5;
$custom-light: #846ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4235b5",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 246.094,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.19222,
    "h": 279.2
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#4235B5
secondary
#BFC680
accent
#DE4ACF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4235B5

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

Preview Lab → · Contrast checker → · Palette generator →

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