#4235B8#4235B8

#4235B8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.196 H 278.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4235B8
RGBrgb(66, 53, 184)
HSLhsl(246, 55%, 46%)
HSVhsv(246, 71%, 72%)
CMYKcmyk(64.1%, 71.2%, 0%, 27.8%)
CIE-LABlab(32.18, 44.34, -67.09)
CIE-LCHlch(32.18, 80.42, 303.46°)
OKLaboklab(43.44% 0.0302 -0.1936)
OKLCHoklch(43.44% 0.196 278.9)
XYZxyz(12.1688, 7.1642, 46.0797)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235B8 #ABB835
analogous
#356AB8 #4235B8 #8435B8
triadic
#4235B8 #B84235 #35B842
tetradic
#4235B8 #B8356A #ABB835 #35B884
square
#4235B8 #B8356A #ABB835 #35B884
split-complementary
#4235B8 #B88435 #6AB835
monochromatic
#201A59 #312788 #4235B8 #665BD0 #928ADD

Accessibility & contrast

On white

8.63
#4235B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4235B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235B8
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235B8#FFFFFF#000000##FFFFFF
##4235B81.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4235b8;
/* rgb */ color: rgb(66, 53, 184);
/* oklch */ color: oklch(43.4% 0.196 278.9);
Tailwind
colors: {
  custom: {
    50: '#856ece',
    500: '#4235b8',
    950: '#000000',
  },
}
SCSS
$custom: #4235b8;
$custom-light: #856ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4235b8",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 245.954,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.19595,
    "h": 278.9
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#4235B8
secondary
#C0C781
accent
#DF49D0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4235B8

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

Preview Lab → · Contrast checker → · Palette generator →

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