#4124EB#4124EB

#4124EB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.8% C 0.268 H 275.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4124EB
RGBrgb(65, 36, 235)
HSLhsl(249, 83%, 53%)
HSVhsv(249, 85%, 92%)
CMYKcmyk(72.3%, 84.7%, 0%, 7.8%)
CIE-LABlab(34.77, 67.25, -92.39)
CIE-LCHlch(34.77, 114.27, 306.05°)
OKLaboklab(46.81% 0.0236 -0.267)
OKLCHoklch(46.81% 0.268 275)
XYZxyz(17.8013, 8.3820, 79.2609)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124EB #CEEB24
analogous
#246AEB #4124EB #A524EB
triadic
#4124EB #EB4124 #24EB41
tetradic
#4124EB #EB246A #CEEB24 #24EBA5
square
#4124EB #EB246A #CEEB24 #24EBA5
split-complementary
#4124EB #EBA524 #6AEB24
monochromatic
#1E0C88 #2B12C0 #4124EB #725CF0 #A294F5

Accessibility & contrast

On white

7.85
#4124EB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4124EB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124EB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124EB#FFFFFF#000000##FFFFFF
##4124EB1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AF0
Deuteranopia (green-blind)
#0049E8
Tritanopia (blue-blind)
#00678D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4124eb;
/* rgb */ color: rgb(65, 36, 235);
/* oklch */ color: oklch(46.8% 0.268 275.0);
Tailwind
colors: {
  custom: {
    50: '#9068f3',
    500: '#4124eb',
    950: '#000000',
  },
}
SCSS
$custom: #4124eb;
$custom-light: #9068f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4124eb",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 235
  },
  "hsl": {
    "h": 248.744,
    "s": 83.264,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46809,
    "c": 0.26803,
    "h": 275
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#4124EB
secondary
#D4E08B
accent
#FA2EDC
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4124EB

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

Preview Lab → · Contrast checker → · Palette generator →

#4124EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva