#4026FF#4026FF

#4026FF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 49.2% C 0.288 H 273.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4026FF
RGBrgb(64, 38, 255)
HSLhsl(247, 100%, 57%)
HSVhsv(247, 85%, 100%)
CMYKcmyk(74.9%, 85.1%, 0%, 0%)
CIE-LABlab(37.29, 71.87, -99.48)
CIE-LCHlch(37.29, 122.72, 305.85°)
OKLaboklab(49.18% 0.0162 -0.2876)
OKLCHoklch(49.18% 0.288 273.2)
XYZxyz(20.8515, 9.6940, 95.3606)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4026FF #E5FF26
analogous
#2678FF #4026FF #AD26FF
triadic
#4026FF #FF4026 #26FF40
tetradic
#4026FF #FF2678 #E5FF26 #26FFAD
square
#4026FF #FF2678 #E5FF26 #26FFAD
split-complementary
#4026FF #FFAD26 #78FF26
monochromatic
#1400AB #1C00E8 #4026FF #7663FF #ACA0FF

Accessibility & contrast

On white

7.14
#4026FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4026FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4026FF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4026FF#FFFFFF#000000##FFFFFF
##4026FF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061FF
Deuteranopia (green-blind)
#004DFC
Tritanopia (blue-blind)
#007099
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4026ff;
/* rgb */ color: rgb(64, 38, 255);
/* oklch */ color: oklch(49.2% 0.288 273.2);
Tailwind
colors: {
  custom: {
    50: '#946aff',
    500: '#4026ff',
    950: '#000000',
  },
}
SCSS
$custom: #4026ff;
$custom-light: #946aff;
$custom-dark: #000000;
JSON
{
  "hex": "#4026ff",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 255
  },
  "hsl": {
    "h": 247.189,
    "s": 100,
    "l": 57.451
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.28804,
    "h": 273.2
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#4026FF
secondary
#E2EC95
accent
#FF29E5
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100718
muted
#7F7A86

Preview Lab

Preview with #4026FF

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

Preview Lab → · Contrast checker → · Palette generator →

#4026FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva