#2F76FE#2F76FE

#2F76FE is a mid, highly saturated blue. Relative luminance 0.207; OKLCH L 60.1% C 0.215 H 261.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F76FE
RGBrgb(47, 118, 254)
HSLhsl(219, 99%, 59%)
HSVhsv(219, 81%, 100%)
CMYKcmyk(81.5%, 53.5%, 0%, 0.4%)
CIE-LABlab(52.63, 26.78, -73.71)
CIE-LCHlch(52.63, 78.42, 289.97°)
OKLaboklab(60.09% -0.031 -0.2127)
OKLCHoklch(60.09% 0.215 261.7)
XYZxyz(25.5336, 20.7138, 96.3991)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76FE #FEB72F
analogous
#2FDEFE #2F76FE #502FFE
triadic
#2F76FE #FE2F76 #76FE2F
tetradic
#2F76FE #FE2FDE #FEB72F #2FFE50
square
#2F76FE #FE2FDE #FEB72F #2FFE50
split-complementary
#2F76FE #FE502F #DEFE2F
monochromatic
#013EB2 #0153EF #2F76FE #6C9EFE #A9C6FF

Accessibility & contrast

On white

4.08
#2F76FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2F76FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F76FE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76FE#FFFFFF#000000##000000
##2F76FE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#0098AF
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f76fe;
/* rgb */ color: rgb(47, 118, 254);
/* oklch */ color: oklch(60.1% 0.215 261.7);
Tailwind
colors: {
  custom: {
    50: '#899cff',
    500: '#2f76fe',
    950: '#000000',
  },
}
SCSS
$custom: #2f76fe;
$custom-light: #899cff;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76fe",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 219.42,
    "s": 99.043,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.21499,
    "h": 261.7
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#2F76FE
secondary
#EDD19C
accent
#B629FF
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E18
muted
#7E7E86

Preview Lab

Preview with #2F76FE

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

Preview Lab → · Contrast checker → · Palette generator →

#2F76FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva