#2F66FF#2F66FF

#2F66FF is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.1% C 0.235 H 264.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F66FF
RGBrgb(47, 102, 255)
HSLhsl(224, 100%, 59%)
HSVhsv(224, 82%, 100%)
CMYKcmyk(81.6%, 60%, 0%, 0%)
CIE-LABlab(48.67, 37.15, -80.73)
CIE-LCHlch(48.67, 88.87, 294.71°)
OKLaboklab(57.13% -0.0218 -0.2336)
OKLCHoklch(57.13% 0.235 264.7)
XYZxyz(23.9673, 17.3242, 96.6691)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F66FF #FFC82F
analogous
#2FCEFF #2F66FF #602FFF
triadic
#2F66FF #FF2F66 #66FF2F
tetradic
#2F66FF #FF2FCE #FFC82F #2FFF60
square
#2F66FF #FF2FCE #FFC82F #2FFF60
split-complementary
#2F66FF #FF602F #CEFF2F
monochromatic
#002FB4 #0040F1 #2F66FF #6C93FF #A9C0FF

Accessibility & contrast

On white

4.70
#2F66FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F66FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F66FF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F66FF#FFFFFF#000000##FFFFFF
##2F66FF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#008EA9
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f66ff;
/* rgb */ color: rgb(47, 102, 255);
/* oklch */ color: oklch(57.1% 0.235 264.7);
Tailwind
colors: {
  custom: {
    50: '#8a91ff',
    500: '#2f66ff',
    950: '#000000',
  },
}
SCSS
$custom: #2f66ff;
$custom-light: #8a91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#2f66ff",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 224.135,
    "s": 100,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.23464,
    "h": 264.7
  },
  "luminance": 0.17327
}

Semantic roles & 50–950 ramp

primary
#2F66FF
secondary
#EED89C
accent
#C629FF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C18
muted
#7E7D86

Preview Lab

Preview with #2F66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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