#4231AB#4231AB

#4231AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.184 H 281.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4231AB
RGBrgb(66, 49, 171)
HSLhsl(248, 55%, 43%)
HSVhsv(248, 71%, 67%)
CMYKcmyk(61.4%, 71.3%, 0%, 32.9%)
CIE-LABlab(30.14, 42.48, -62.69)
CIE-LCHlch(30.14, 75.73, 304.13°)
OKLaboklab(41.61% 0.0355 -0.1807)
OKLCHoklch(41.61% 0.184 281.1)
XYZxyz(10.6935, 6.2944, 39.1716)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231AB #9AAB31
analogous
#315DAB #4231AB #7F31AB
triadic
#4231AB #AB4231 #31AB42
tetradic
#4231AB #AB315D #9AAB31 #31AB7F
square
#4231AB #AB315D #9AAB31 #31AB7F
split-complementary
#4231AB #AB7F31 #5DAB31
monochromatic
#1D164C #30237B #4231AB #5F4DCC #8A7DDA

Accessibility & contrast

On white

9.30
#4231AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4231AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231AB
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231AB#FFFFFF#000000##FFFFFF
##4231AB1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4231ab;
/* rgb */ color: rgb(66, 49, 171);
/* oklch */ color: oklch(41.6% 0.184 281.1);
Tailwind
colors: {
  custom: {
    50: '#836bc5',
    500: '#4231ab',
    950: '#000000',
  },
}
SCSS
$custom: #4231ab;
$custom-light: #836bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4231ab",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 248.361,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.18417,
    "h": 281.1
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#4231AB
secondary
#B8C275
accent
#DF49CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231AB

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

Preview Lab → · Contrast checker → · Palette generator →

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