#4231B5#4231B5

#4231B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.6% C 0.197 H 279.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4231B5
RGBrgb(66, 49, 181)
HSLhsl(248, 57%, 45%)
HSVhsv(248, 73%, 71%)
CMYKcmyk(63.5%, 72.9%, 0%, 29%)
CIE-LABlab(31.09, 45.63, -67.10)
CIE-LCHlch(31.09, 81.14, 304.21°)
OKLaboklab(42.58% 0.0336 -0.1936)
OKLCHoklch(42.58% 0.197 279.8)
XYZxyz(11.6829, 6.6902, 44.3828)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231B5 #A4B531
analogous
#3162B5 #4231B5 #8431B5
triadic
#4231B5 #B54231 #31B542
tetradic
#4231B5 #B53162 #A4B531 #31B584
square
#4231B5 #B53162 #A4B531 #31B584
split-complementary
#4231B5 #B58431 #62B531
monochromatic
#1F1755 #302485 #4231B5 #6353D0 #8F83DD

Accessibility & contrast

On white

8.98
#4231B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4231B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231B5
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231B5#FFFFFF#000000##FFFFFF
##4231B51.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4231b5;
/* rgb */ color: rgb(66, 49, 181);
/* oklch */ color: oklch(42.6% 0.197 279.8);
Tailwind
colors: {
  custom: {
    50: '#856bcc',
    500: '#4231b5',
    950: '#000000',
  },
}
SCSS
$custom: #4231b5;
$custom-light: #856bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4231b5",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 247.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.1965,
    "h": 279.8
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#4231B5
secondary
#BDC77B
accent
#E147CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4231B5

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

Preview Lab → · Contrast checker → · Palette generator →

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