#4231B8#4231B8

#4231B8 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.200 H 279.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4231B8
RGBrgb(66, 49, 184)
HSLhsl(248, 58%, 46%)
HSVhsv(248, 73%, 72%)
CMYKcmyk(64.1%, 73.4%, 0%, 27.8%)
CIE-LABlab(31.38, 46.56, -68.40)
CIE-LCHlch(31.38, 82.75, 304.24°)
OKLaboklab(42.87% 0.0329 -0.1974)
OKLCHoklch(42.87% 0.2 279.5)
XYZxyz(11.9940, 6.8146, 46.0214)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231B8 #A7B831
analogous
#3163B8 #4231B8 #8631B8
triadic
#4231B8 #B84231 #31B842
tetradic
#4231B8 #B83163 #A7B831 #31B886
square
#4231B8 #B83163 #A7B831 #31B886
split-complementary
#4231B8 #B88631 #63B831
monochromatic
#1F1757 #312488 #4231B8 #6455D2 #9085DE

Accessibility & contrast

On white

8.89
#4231B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4231B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231B8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231B8#FFFFFF#000000##FFFFFF
##4231B81.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4231b8;
/* rgb */ color: rgb(66, 49, 184);
/* oklch */ color: oklch(42.9% 0.200 279.5);
Tailwind
colors: {
  custom: {
    50: '#856ccf',
    500: '#4231b8',
    950: '#000000',
  },
}
SCSS
$custom: #4231b8;
$custom-light: #856ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4231b8",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 247.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.20015,
    "h": 279.5
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#4231B8
secondary
#BEC87D
accent
#E147CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4231B8

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

Preview Lab → · Contrast checker → · Palette generator →

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