#020EFF#020EFF

#020EFF is a mid, highly saturated blue. Relative luminance 0.075; OKLCH L 45.7% C 0.310 H 264.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#020EFF
RGBrgb(2, 14, 255)
HSLhsl(237, 100%, 50%)
HSVhsv(237, 99%, 100%)
CMYKcmyk(99.2%, 94.5%, 0%, 0%)
CIE-LABlab(33.02, 77.05, -106.66)
CIE-LCHlch(33.02, 131.58, 305.85°)
OKLaboklab(45.69% -0.031 -0.3083)
OKLCHoklch(45.69% 0.31 264.3)
XYZxyz(18.2258, 7.5445, 95.0839)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020EFF #FFF302
analogous
#028DFF #020EFF #7402FF
triadic
#020EFF #FF020E #0EFF02
tetradic
#020EFF #FF028D #FFF302 #02FF74
square
#020EFF #FF028D #FFF302 #02FF74
split-complementary
#020EFF #FF7402 #8DFF02
monochromatic
#000687 #0009C4 #020EFF #3F48FF #7C83FF

Accessibility & contrast

On white

8.37
#020EFF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#020EFF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020EFF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020EFF#FFFFFF#000000##FFFFFF
##020EFF1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AFF
Deuteranopia (green-blind)
#0040FC
Tritanopia (blue-blind)
#006D96
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #020eff;
/* rgb */ color: rgb(2, 14, 255);
/* oklch */ color: oklch(45.7% 0.310 264.3);
Tailwind
colors: {
  custom: {
    50: '#8a60ff',
    500: '#020eff',
    950: '#000000',
  },
}
SCSS
$custom: #020eff;
$custom-light: #8a60ff;
$custom-dark: #000000;
JSON
{
  "hex": "#020eff",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 255
  },
  "hsl": {
    "h": 237.154,
    "s": 100,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45693,
    "c": 0.30983,
    "h": 264.3
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#020EFF
secondary
#E7E176
accent
#F529FF
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0618
muted
#7F7A86

Preview Lab

Preview with #020EFF

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

Preview Lab → · Contrast checker → · Palette generator →

#020EFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva