#2F49EE#2F49EE

#2F49EE is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.245 H 268.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2F49EE
RGBrgb(47, 73, 238)
HSLhsl(232, 85%, 56%)
HSVhsv(232, 80%, 93%)
CMYKcmyk(80.3%, 69.3%, 0%, 6.7%)
CIE-LABlab(40.48, 48.83, -84.66)
CIE-LCHlch(40.48, 97.74, 299.98°)
OKLaboklab(50.67% -0.0081 -0.2453)
OKLCHoklch(50.67% 0.245 268.1)
XYZxyz(18.9821, 11.5402, 82.0994)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F49EE #EED42F
analogous
#2FA9EE #2F49EE #742FEE
triadic
#2F49EE #EE2F49 #49EE2F
tetradic
#2F49EE #EE2FA9 #EED42F #2FEE74
square
#2F49EE #EE2FA9 #EED42F #2FEE74
split-complementary
#2F49EE #EE742F #A9EE2F
monochromatic
#0C1F96 #112BCF #2F49EE #687BF3 #A0ACF7

Accessibility & contrast

On white

6.35
#2F49EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2F49EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F49EE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F49EE#FFFFFF#000000##FFFFFF
##2F49EE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F3
Deuteranopia (green-blind)
#0056EB
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f49ee;
/* rgb */ color: rgb(47, 73, 238);
/* oklch */ color: oklch(50.7% 0.245 268.1);
Tailwind
colors: {
  custom: {
    50: '#887cf5',
    500: '#2f49ee',
    950: '#000000',
  },
}
SCSS
$custom: #2f49ee;
$custom-light: #887cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f49ee",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 231.832,
    "s": 84.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.24545,
    "h": 268.1
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#2F49EE
secondary
#E4D995
accent
#DF2DFB
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #2F49EE

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

Preview Lab → · Contrast checker → · Palette generator →

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