#4231BC#4231BC

#4231BC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.205 H 279.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4231BC
RGBrgb(66, 49, 188)
HSLhsl(247, 59%, 46%)
HSVhsv(247, 74%, 74%)
CMYKcmyk(64.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(31.77, 47.81, -70.12)
CIE-LCHlch(31.77, 84.87, 304.28°)
OKLaboklab(43.26% 0.0321 -0.2024)
OKLCHoklch(43.26% 0.205 279)
XYZxyz(12.4193, 6.9847, 48.2609)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231BC #ABBC31
analogous
#3166BC #4231BC #8831BC
triadic
#4231BC #BC4231 #31BC42
tetradic
#4231BC #BC3166 #ABBC31 #31BC88
square
#4231BC #BC3166 #ABBC31 #31BC88
split-complementary
#4231BC #BC8831 #66BC31
monochromatic
#20185B #31248B #4231BC #6657D3 #9288E0

Accessibility & contrast

On white

8.76
#4231BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4231BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231BC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231BC#FFFFFF#000000##FFFFFF
##4231BC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4231bc;
/* rgb */ color: rgb(66, 49, 188);
/* oklch */ color: oklch(43.3% 0.205 279.0);
Tailwind
colors: {
  custom: {
    50: '#866cd1',
    500: '#4231bc',
    950: '#000000',
  },
}
SCSS
$custom: #4231bc;
$custom-light: #866cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4231bc",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 247.338,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.20497,
    "h": 279
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#4231BC
secondary
#C0CA7F
accent
#E246CF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4231BC

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

Preview Lab → · Contrast checker → · Palette generator →

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