#4079E1#4079E1

#4079E1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.170 H 261.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4079E1
RGBrgb(64, 121, 225)
HSLhsl(219, 73%, 57%)
HSVhsv(219, 72%, 88%)
CMYKcmyk(71.6%, 46.2%, 0%, 11.8%)
CIE-LABlab(52.06, 16.11, -58.44)
CIE-LCHlch(52.06, 60.62, 285.41°)
OKLaboklab(59.2% -0.0258 -0.1675)
OKLCHoklch(59.2% 0.17 261.3)
XYZxyz(22.5375, 20.1986, 73.9305)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079E1 #E1A840
analogous
#40CAE1 #4079E1 #5840E1
triadic
#4079E1 #E14079 #79E140
tetradic
#4079E1 #E140CA #E1A840 #40E158
square
#4079E1 #E140CA #E1A840 #40E158
split-complementary
#4079E1 #E15840 #CAE140
monochromatic
#174290 #1F5AC5 #4079E1 #759EE9 #AAC3F2

Accessibility & contrast

On white

4.17
#4079E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4079E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079E1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079E1#FFFFFF#000000##000000
##4079E11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4079e1;
/* rgb */ color: rgb(64, 121, 225);
/* oklch */ color: oklch(59.2% 0.170 261.3);
Tailwind
colors: {
  custom: {
    50: '#889feb',
    500: '#4079e1',
    950: '#000000',
  },
}
SCSS
$custom: #4079e1;
$custom-light: #889feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4079e1",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 218.758,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.16951,
    "h": 261.3
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

primary
#4079E1
secondary
#DFC89D
accent
#AF38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4079E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4079E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva