#4231B9#4231B9

#4231B9 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.201 H 279.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4231B9
RGBrgb(66, 49, 185)
HSLhsl(248, 58%, 46%)
HSVhsv(248, 74%, 73%)
CMYKcmyk(64.3%, 73.5%, 0%, 27.5%)
CIE-LABlab(31.48, 46.87, -68.83)
CIE-LCHlch(31.48, 83.28, 304.25°)
OKLaboklab(42.97% 0.0327 -0.1987)
OKLCHoklch(42.97% 0.201 279.3)
XYZxyz(12.0992, 6.8567, 46.5754)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231B9 #A8B931
analogous
#3164B9 #4231B9 #8631B9
triadic
#4231B9 #B94231 #31B942
tetradic
#4231B9 #B93164 #A8B931 #31B986
square
#4231B9 #B93164 #A8B931 #31B986
split-complementary
#4231B9 #B98631 #64B931
monochromatic
#1F1758 #312489 #4231B9 #6555D2 #9186DF

Accessibility & contrast

On white

8.85
#4231B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4231B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231B9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231B9#FFFFFF#000000##FFFFFF
##4231B91.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4231b9;
/* rgb */ color: rgb(66, 49, 185);
/* oklch */ color: oklch(43.0% 0.201 279.3);
Tailwind
colors: {
  custom: {
    50: '#866ccf',
    500: '#4231b9',
    950: '#000000',
  },
}
SCSS
$custom: #4231b9;
$custom-light: #866ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4231b9",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 247.5,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.20135,
    "h": 279.3
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#4231B9
secondary
#BFC87D
accent
#E146CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4231B9

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

Preview Lab → · Contrast checker → · Palette generator →

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