#4280D7#4280D7

#4280D7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.1% C 0.148 H 257.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4280D7
RGBrgb(66, 128, 215)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 69%, 84%)
CMYKcmyk(69.3%, 40.5%, 0%, 15.7%)
CIE-LABlab(53.49, 8.51, -50.51)
CIE-LCHlch(53.49, 51.22, 279.56°)
OKLaboklab(60.14% -0.0324 -0.1441)
OKLCHoklch(60.14% 0.148 257.3)
XYZxyz(22.2272, 21.5006, 67.2554)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4280D7 #D79942
analogous
#42CAD7 #4280D7 #4F42D7
triadic
#4280D7 #D74280 #80D742
tetradic
#4280D7 #D742CA #D79942 #42D74F
square
#4280D7 #D742CA #D79942 #42D74F
split-complementary
#4280D7 #D74F42 #CAD742
monochromatic
#1C4783 #2662B5 #4280D7 #75A2E2 #A7C4EC

Accessibility & contrast

On white

3.96
#4280D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4280D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4280D7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4280D7#FFFFFF#000000##000000
##4280D71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4280d7;
/* rgb */ color: rgb(66, 128, 215);
/* oklch */ color: oklch(60.1% 0.148 257.3);
Tailwind
colors: {
  custom: {
    50: '#87a4e4',
    500: '#4280d7',
    950: '#000000',
  },
}
SCSS
$custom: #4280d7;
$custom-light: #87a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4280d7",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 215
  },
  "hsl": {
    "h": 215.034,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.14771,
    "h": 257.3
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#4280D7
secondary
#DAC09B
accent
#A240E8
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F15
muted
#7D7F84

Preview Lab

Preview with #4280D7

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

Preview Lab → · Contrast checker → · Palette generator →

#4280D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva