#4231C8#4231C8

#4231C8 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.5% C 0.219 H 277.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4231C8
RGBrgb(66, 49, 200)
HSLhsl(247, 61%, 49%)
HSVhsv(247, 76%, 78%)
CMYKcmyk(67%, 75.5%, 0%, 21.6%)
CIE-LABlab(32.97, 51.50, -75.19)
CIE-LCHlch(32.97, 91.14, 304.41°)
OKLaboklab(44.47% 0.0294 -0.2172)
OKLCHoklch(44.47% 0.219 277.7)
XYZxyz(13.7670, 7.5238, 55.3591)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C8 #B7C831
analogous
#316CC8 #4231C8 #8E31C8
triadic
#4231C8 #C84231 #31C842
tetradic
#4231C8 #C8316C #B7C831 #31C88E
square
#4231C8 #C8316C #B7C831 #31C88E
split-complementary
#4231C8 #C88E31 #6CC831
monochromatic
#221966 #322597 #4231C8 #6C5FD8 #9990E4

Accessibility & contrast

On white

8.38
#4231C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4231C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C8#FFFFFF#000000##FFFFFF
##4231C81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#0047C5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4231c8;
/* rgb */ color: rgb(66, 49, 200);
/* oklch */ color: oklch(44.5% 0.219 277.7);
Tailwind
colors: {
  custom: {
    50: '#896cda',
    500: '#4231c8',
    950: '#000000',
  },
}
SCSS
$custom: #4231c8;
$custom-light: #896cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c8",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 246.755,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.21921,
    "h": 277.7
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#4231C8
secondary
#C6CE86
accent
#E444D2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4231C8

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

Preview Lab → · Contrast checker → · Palette generator →

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