#4235AB#4235AB

#4235AB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.180 H 280.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4235AB
RGBrgb(66, 53, 171)
HSLhsl(247, 53%, 44%)
HSVhsv(247, 69%, 67%)
CMYKcmyk(61.4%, 69%, 0%, 32.9%)
CIE-LABlab(30.98, 40.18, -61.31)
CIE-LCHlch(30.98, 73.30, 303.24°)
OKLaboklab(42.22% 0.0324 -0.1767)
OKLCHoklch(42.22% 0.18 280.4)
XYZxyz(10.8682, 6.6439, 39.2299)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235AB #9EAB35
analogous
#3563AB #4235AB #7D35AB
triadic
#4235AB #AB4235 #35AB42
tetradic
#4235AB #AB3563 #9EAB35 #35AB7D
square
#4235AB #AB3563 #9EAB35 #35AB7D
split-complementary
#4235AB #AB7D35 #63AB35
monochromatic
#1E184E #30277C #4235AB #6053CA #8C82D8

Accessibility & contrast

On white

9.02
#4235AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4235AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235AB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235AB#FFFFFF#000000##FFFFFF
##4235AB1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4235ab;
/* rgb */ color: rgb(66, 53, 171);
/* oklch */ color: oklch(42.2% 0.180 280.4);
Tailwind
colors: {
  custom: {
    50: '#836ec5',
    500: '#4235ab',
    950: '#000000',
  },
}
SCSS
$custom: #4235ab;
$custom-light: #836ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4235ab",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 246.61,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.17963,
    "h": 280.4
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#4235AB
secondary
#BAC27A
accent
#DC4CCC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4235AB

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

Preview Lab → · Contrast checker → · Palette generator →

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