#4235AE#4235AE

#4235AE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.183 H 280.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4235AE
RGBrgb(66, 53, 174)
HSLhsl(246, 53%, 45%)
HSVhsv(246, 70%, 68%)
CMYKcmyk(62.1%, 69.5%, 0%, 31.8%)
CIE-LABlab(31.25, 41.14, -62.66)
CIE-LCHlch(31.25, 74.96, 303.29°)
OKLaboklab(42.49% 0.0319 -0.1806)
OKLCHoklch(42.49% 0.183 280)
XYZxyz(11.1574, 6.7596, 40.7530)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235AE #A1AE35
analogous
#3565AE #4235AE #7E35AE
triadic
#4235AE #AE4235 #35AE42
tetradic
#4235AE #AE3565 #A1AE35 #35AE7E
square
#4235AE #AE3565 #A1AE35 #35AE7E
split-complementary
#4235AE #AE7E35 #65AE35
monochromatic
#1E1850 #30277F #4235AE #6255CB #8D84DA

Accessibility & contrast

On white

8.93
#4235AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4235AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235AE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235AE#FFFFFF#000000##FFFFFF
##4235AE1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4235ae;
/* rgb */ color: rgb(66, 53, 174);
/* oklch */ color: oklch(42.5% 0.183 280.0);
Tailwind
colors: {
  custom: {
    50: '#836ec7',
    500: '#4235ae',
    950: '#000000',
  },
}
SCSS
$custom: #4235ae;
$custom-light: #836ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4235ae",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 246.446,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.18344,
    "h": 280
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#4235AE
secondary
#BBC37C
accent
#DD4BCD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4235AE

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

Preview Lab → · Contrast checker → · Palette generator →

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