#4235B2#4235B2

#4235B2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.188 H 279.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4235B2
RGBrgb(66, 53, 178)
HSLhsl(246, 54%, 45%)
HSVhsv(246, 70%, 70%)
CMYKcmyk(62.9%, 70.2%, 0%, 30.2%)
CIE-LABlab(31.62, 42.42, -64.45)
CIE-LCHlch(31.62, 77.16, 303.36°)
OKLaboklab(42.87% 0.0313 -0.1859)
OKLCHoklch(42.87% 0.188 279.5)
XYZxyz(11.5532, 6.9179, 42.8373)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235B2 #A5B235
analogous
#3566B2 #4235B2 #8035B2
triadic
#4235B2 #B24235 #35B242
tetradic
#4235B2 #B23566 #A5B235 #35B280
square
#4235B2 #B23566 #A5B235 #35B280
split-complementary
#4235B2 #B28035 #66B235
monochromatic
#1F1954 #312783 #4235B2 #6357CD #8F86DB

Accessibility & contrast

On white

8.81
#4235B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4235B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235B2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235B2#FFFFFF#000000##FFFFFF
##4235B21.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4235b2;
/* rgb */ color: rgb(66, 53, 178);
/* oklch */ color: oklch(42.9% 0.188 279.5);
Tailwind
colors: {
  custom: {
    50: '#846eca',
    500: '#4235b2',
    950: '#000000',
  },
}
SCSS
$custom: #4235b2;
$custom-light: #846eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4235b2",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 246.24,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.18848,
    "h": 279.5
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#4235B2
secondary
#BDC57E
accent
#DD4ACE
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4235B2

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

Preview Lab → · Contrast checker → · Palette generator →

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