#4128C3#4128C3

#4128C3 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.222 H 278.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4128C3
RGBrgb(65, 40, 195)
HSLhsl(250, 66%, 46%)
HSVhsv(250, 79%, 76%)
CMYKcmyk(66.7%, 79.5%, 0%, 23.5%)
CIE-LABlab(30.83, 54.33, -75.80)
CIE-LCHlch(30.83, 93.26, 305.63°)
OKLaboklab(42.8% 0.0339 -0.2189)
OKLCHoklch(42.8% 0.222 278.8)
XYZxyz(12.7859, 6.5805, 52.2155)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4128C3 #AAC328
analogous
#285DC3 #4128C3 #8E28C3
triadic
#4128C3 #C34128 #28C341
tetradic
#4128C3 #C3285D #AAC328 #28C38E
square
#4128C3 #C3285D #AAC328 #28C38E
split-complementary
#4128C3 #C38E28 #5DC328
monochromatic
#1F135D #301E90 #4128C3 #644EDB #9180E5

Accessibility & contrast

On white

9.07
#4128C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4128C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4128C3
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4128C3#FFFFFF#000000##FFFFFF
##4128C31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4128c3;
/* rgb */ color: rgb(65, 40, 195);
/* oklch */ color: oklch(42.8% 0.222 278.8);
Tailwind
colors: {
  custom: {
    50: '#8867d7',
    500: '#4128c3',
    950: '#000000',
  },
}
SCSS
$custom: #4128c3;
$custom-light: #8867d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4128c3",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 249.677,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.22154,
    "h": 278.8
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#4128C3
secondary
#C0CE79
accent
#E93FCD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4128C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4128C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva