#4231BE#4231BE

#4231BE is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.207 H 278.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4231BE
RGBrgb(66, 49, 190)
HSLhsl(247, 59%, 47%)
HSVhsv(247, 74%, 75%)
CMYKcmyk(65.3%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.97, 48.43, -70.98)
CIE-LCHlch(31.97, 85.93, 304.30°)
OKLaboklab(43.46% 0.0316 -0.2049)
OKLCHoklch(43.46% 0.207 278.8)
XYZxyz(12.6364, 7.0715, 49.4042)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231BE #ADBE31
analogous
#3167BE #4231BE #8931BE
triadic
#4231BE #BE4231 #31BE42
tetradic
#4231BE #BE3167 #ADBE31 #31BE89
square
#4231BE #BE3167 #ADBE31 #31BE89
split-complementary
#4231BE #BE8931 #67BE31
monochromatic
#20185D #31248D #4231BE #6758D4 #9389E1

Accessibility & contrast

On white

8.70
#4231BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4231BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231BE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231BE#FFFFFF#000000##FFFFFF
##4231BE1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0045BB
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4231be;
/* rgb */ color: rgb(66, 49, 190);
/* oklch */ color: oklch(43.5% 0.207 278.8);
Tailwind
colors: {
  custom: {
    50: '#876cd3',
    500: '#4231be',
    950: '#000000',
  },
}
SCSS
$custom: #4231be;
$custom-light: #876cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4231be",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 247.234,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.20737,
    "h": 278.8
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#4231BE
secondary
#C1CA80
accent
#E246CF
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4231BE

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

Preview Lab → · Contrast checker → · Palette generator →

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