#4073F1#4073F1

#4073F1 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.198 H 264.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4073F1
RGBrgb(64, 115, 241)
HSLhsl(223, 86%, 60%)
HSVhsv(223, 73%, 95%)
CMYKcmyk(73.4%, 52.3%, 0%, 5.5%)
CIE-LABlab(51.50, 25.61, -68.31)
CIE-LCHlch(51.50, 72.95, 290.55°)
OKLaboklab(59.1% -0.019 -0.1967)
OKLCHoklch(59.1% 0.198 264.5)
XYZxyz(24.1167, 19.6997, 85.7334)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073F1 #F1BE40
analogous
#40CBF1 #4073F1 #6640F1
triadic
#4073F1 #F14073 #73F140
tetradic
#4073F1 #F140CB #F1BE40 #40F166
square
#4073F1 #F140CB #F1BE40 #40F166
split-complementary
#4073F1 #F16640 #CBF140
monochromatic
#0C3AAA #114DE3 #4073F1 #799DF5 #B2C7F9

Accessibility & contrast

On white

4.25
#4073F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4073F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073F1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073F1#FFFFFF#000000##000000
##4073F11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1683F5
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4073f1;
/* rgb */ color: rgb(64, 115, 241);
/* oklch */ color: oklch(59.1% 0.198 264.5);
Tailwind
colors: {
  custom: {
    50: '#8b9af6',
    500: '#4073f1',
    950: '#000000',
  },
}
SCSS
$custom: #4073f1;
$custom-light: #8b9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#4073f1",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 241
  },
  "hsl": {
    "h": 222.712,
    "s": 86.341,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.1976,
    "h": 264.5
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#4073F1
secondary
#E9D5A4
accent
#C02BFD
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4073F1

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

Preview Lab → · Contrast checker → · Palette generator →

#4073F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva