#2F41E8#2F41E8

#2F41E8 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.246 H 269.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2F41E8
RGBrgb(47, 65, 232)
HSLhsl(234, 80%, 55%)
HSVhsv(234, 80%, 91%)
CMYKcmyk(79.7%, 72%, 0%, 9%)
CIE-LABlab(38.22, 51.43, -85.00)
CIE-LCHlch(38.22, 99.34, 301.18°)
OKLaboklab(48.86% -0.0045 -0.2463)
OKLCHoklch(48.86% 0.246 269)
XYZxyz(17.6231, 10.2091, 77.3700)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41E8 #E8D62F
analogous
#2F9EE8 #2F41E8 #792FE8
triadic
#2F41E8 #E82F41 #41E82F
tetradic
#2F41E8 #E82F9E #E8D62F #2FE879
square
#2F41E8 #E82F9E #E8D62F #2FE879
split-complementary
#2F41E8 #E8792F #9EE82F
monochromatic
#101C8D #1627C4 #2F41E8 #6673EE #9DA6F4

Accessibility & contrast

On white

6.90
#2F41E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F41E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F41E8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41E8#FFFFFF#000000##FFFFFF
##2F41E81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063ED
Deuteranopia (green-blind)
#0051E5
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f41e8;
/* rgb */ color: rgb(47, 65, 232);
/* oklch */ color: oklch(48.9% 0.246 269.0);
Tailwind
colors: {
  custom: {
    50: '#8877f1',
    500: '#2f41e8',
    950: '#000000',
  },
}
SCSS
$custom: #2f41e8;
$custom-light: #8877f1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41e8",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 234.162,
    "s": 80.087,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.24631,
    "h": 269
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#2F41E8
secondary
#E0D992
accent
#E331F7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #2F41E8

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

Preview Lab → · Contrast checker → · Palette generator →

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