#4231BF#4231BF

#4231BF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.209 H 278.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4231BF
RGBrgb(66, 49, 191)
HSLhsl(247, 59%, 47%)
HSVhsv(247, 74%, 75%)
CMYKcmyk(65.4%, 74.3%, 0%, 25.1%)
CIE-LABlab(32.07, 48.74, -71.41)
CIE-LCHlch(32.07, 86.45, 304.31°)
OKLaboklab(43.56% 0.0314 -0.2062)
OKLCHoklch(43.56% 0.209 278.7)
XYZxyz(12.7460, 7.1154, 49.9818)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231BF #AEBF31
analogous
#3167BF #4231BF #8931BF
triadic
#4231BF #BF4231 #31BF42
tetradic
#4231BF #BF3167 #AEBF31 #31BF89
square
#4231BF #BF3167 #AEBF31 #31BF89
split-complementary
#4231BF #BF8931 #67BF31
monochromatic
#20185E #31258E #4231BF #6859D4 #948AE1

Accessibility & contrast

On white

8.67
#4231BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4231BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231BF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231BF#FFFFFF#000000##FFFFFF
##4231BF1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4231bf;
/* rgb */ color: rgb(66, 49, 191);
/* oklch */ color: oklch(43.6% 0.209 278.7);
Tailwind
colors: {
  custom: {
    50: '#876cd4',
    500: '#4231bf',
    950: '#000000',
  },
}
SCSS
$custom: #4231bf;
$custom-light: #876cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4231bf",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 247.183,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.20856,
    "h": 278.7
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#4231BF
secondary
#C2CB81
accent
#E245D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4231BF

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

Preview Lab → · Contrast checker → · Palette generator →

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