#4235B3#4235B3

#4235B3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.190 H 279.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4235B3
RGBrgb(66, 53, 179)
HSLhsl(246, 54%, 45%)
HSVhsv(246, 70%, 70%)
CMYKcmyk(63.1%, 70.4%, 0%, 29.8%)
CIE-LABlab(31.71, 42.75, -64.89)
CIE-LCHlch(31.71, 77.70, 303.37°)
OKLaboklab(42.96% 0.0311 -0.1872)
OKLCHoklch(42.96% 0.19 279.4)
XYZxyz(11.6540, 6.9582, 43.3680)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4235B3 #A6B335
analogous
#3567B3 #4235B3 #8135B3
triadic
#4235B3 #B34235 #35B342
tetradic
#4235B3 #B33567 #A6B335 #35B381
square
#4235B3 #B33567 #A6B335 #35B381
split-complementary
#4235B3 #B38135 #67B335
monochromatic
#1F1955 #312784 #4235B3 #6458CD #9087DB

Accessibility & contrast

On white

8.78
#4235B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4235B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4235B3
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4235B3#FFFFFF#000000##FFFFFF
##4235B31.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4235b3;
/* rgb */ color: rgb(66, 53, 179);
/* oklch */ color: oklch(43.0% 0.190 279.4);
Tailwind
colors: {
  custom: {
    50: '#846ecb',
    500: '#4235b3',
    950: '#000000',
  },
}
SCSS
$custom: #4235b3;
$custom-light: #846ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4235b3",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 246.19,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.18973,
    "h": 279.4
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#4235B3
secondary
#BEC57F
accent
#DE4ACE
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4235B3

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

Preview Lab → · Contrast checker → · Palette generator →

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