#4231B4#4231B4

#4231B4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.195 H 280.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4231B4
RGBrgb(66, 49, 180)
HSLhsl(248, 57%, 45%)
HSVhsv(248, 73%, 71%)
CMYKcmyk(63.3%, 72.8%, 0%, 29.4%)
CIE-LABlab(30.99, 45.31, -66.66)
CIE-LCHlch(30.99, 80.61, 304.20°)
OKLaboklab(42.48% 0.0338 -0.1923)
OKLCHoklch(42.48% 0.195 280)
XYZxyz(11.5807, 6.6493, 43.8443)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231B4 #A3B431
analogous
#3162B4 #4231B4 #8331B4
triadic
#4231B4 #B44231 #31B442
tetradic
#4231B4 #B43162 #A3B431 #31B483
square
#4231B4 #B43162 #A3B431 #31B483
split-complementary
#4231B4 #B48331 #62B431
monochromatic
#1F1754 #302484 #4231B4 #6352D0 #8E82DD

Accessibility & contrast

On white

9.01
#4231B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4231B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231B4
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231B4#FFFFFF#000000##FFFFFF
##4231B41.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4231b4;
/* rgb */ color: rgb(66, 49, 180);
/* oklch */ color: oklch(42.5% 0.195 280.0);
Tailwind
colors: {
  custom: {
    50: '#856bcc',
    500: '#4231b4',
    950: '#000000',
  },
}
SCSS
$custom: #4231b4;
$custom-light: #856bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4231b4",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 247.786,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.19528,
    "h": 280
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#4231B4
secondary
#BCC67B
accent
#E047CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231B4

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

Preview Lab → · Contrast checker → · Palette generator →

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