#4231B0#4231B0

#4231B0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.190 H 280.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4231B0
RGBrgb(66, 49, 176)
HSLhsl(248, 56%, 44%)
HSVhsv(248, 72%, 69%)
CMYKcmyk(62.5%, 72.2%, 0%, 31%)
CIE-LABlab(30.61, 44.06, -64.91)
CIE-LCHlch(30.61, 78.45, 304.17°)
OKLaboklab(42.09% 0.0346 -0.1872)
OKLCHoklch(42.09% 0.19 280.5)
XYZxyz(11.1791, 6.4886, 41.7292)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231B0 #9FB031
analogous
#3160B0 #4231B0 #8131B0
triadic
#4231B0 #B04231 #31B042
tetradic
#4231B0 #B03160 #9FB031 #31B081
square
#4231B0 #B03160 #9FB031 #31B081
split-complementary
#4231B0 #B08131 #60B031
monochromatic
#1E1650 #302480 #4231B0 #6150CE #8C80DC

Accessibility & contrast

On white

9.14
#4231B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4231B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231B0
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231B0#FFFFFF#000000##FFFFFF
##4231B01.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4231b0;
/* rgb */ color: rgb(66, 49, 176);
/* oklch */ color: oklch(42.1% 0.190 280.5);
Tailwind
colors: {
  custom: {
    50: '#846bc9',
    500: '#4231b0',
    950: '#000000',
  },
}
SCSS
$custom: #4231b0;
$custom-light: #846bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4231b0",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 248.031,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.19037,
    "h": 280.5
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#4231B0
secondary
#BAC578
accent
#E048CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231B0

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

Preview Lab → · Contrast checker → · Palette generator →

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