#4231D6#4231D6

#4231D6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.9% C 0.235 H 276.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4231D6
RGBrgb(66, 49, 214)
HSLhsl(246, 67%, 52%)
HSVhsv(246, 77%, 84%)
CMYKcmyk(69.2%, 77.1%, 0%, 16.1%)
CIE-LABlab(34.41, 55.75, -80.94)
CIE-LCHlch(34.41, 98.28, 304.56°)
OKLaboklab(45.91% 0.0261 -0.234)
OKLCHoklch(45.91% 0.235 276.4)
XYZxyz(15.4787, 8.2085, 64.3740)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231D6 #C5D631
analogous
#3173D6 #4231D6 #9531D6
triadic
#4231D6 #D64231 #31D642
tetradic
#4231D6 #D63173 #C5D631 #31D695
square
#4231D6 #D63173 #C5D631 #31D695
split-complementary
#4231D6 #D69531 #73D631
monochromatic
#211775 #2F21A8 #4231D6 #7164E0 #A097EA

Accessibility & contrast

On white

7.95
#4231D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4231D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231D6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231D6#FFFFFF#000000##FFFFFF
##4231D61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DB
Deuteranopia (green-blind)
#004AD3
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4231d6;
/* rgb */ color: rgb(66, 49, 214);
/* oklch */ color: oklch(45.9% 0.235 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b6de4',
    500: '#4231d6',
    950: '#000000',
  },
}
SCSS
$custom: #4231d6;
$custom-light: #8b6de4;
$custom-dark: #000000;
JSON
{
  "hex": "#4231d6",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 214
  },
  "hsl": {
    "h": 246.182,
    "s": 66.802,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45909,
    "c": 0.23541,
    "h": 276.4
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#4231D6
secondary
#CED68D
accent
#EA3ED8
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4231D6

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

Preview Lab → · Contrast checker → · Palette generator →

#4231D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva