#2F41CE#2F41CE

#2F41CE is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.3% C 0.215 H 269.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2F41CE
RGBrgb(47, 65, 206)
HSLhsl(233, 63%, 50%)
HSVhsv(233, 77%, 81%)
CMYKcmyk(77.2%, 68.4%, 0%, 19.2%)
CIE-LABlab(35.67, 42.57, -74.27)
CIE-LCHlch(35.67, 85.61, 299.82°)
OKLaboklab(46.27% -0.0017 -0.215)
OKLCHoklch(46.27% 0.215 269.6)
XYZxyz(14.1993, 8.8396, 59.3384)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F41CE #CEBC2F
analogous
#2F90CE #2F41CE #6D2FCE
triadic
#2F41CE #CE2F41 #41CE2F
tetradic
#2F41CE #CE2F90 #CEBC2F #2FCE6D
square
#2F41CE #CE2F90 #CEBC2F #2FCE6D
split-complementary
#2F41CE #CE6D2F #90CE2F
monochromatic
#18226A #24319C #2F41CE #606EDB #919BE6

Accessibility & contrast

On white

7.59
#2F41CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F41CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F41CE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F41CE#FFFFFF#000000##FFFFFF
##2F41CE1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#004CCB
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f41ce;
/* rgb */ color: rgb(47, 65, 206);
/* oklch */ color: oklch(46.3% 0.215 269.6);
Tailwind
colors: {
  custom: {
    50: '#8176de',
    500: '#2f41ce',
    950: '#000000',
  },
}
SCSS
$custom: #2f41ce;
$custom-light: #8176de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f41ce",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 233.208,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.21505,
    "h": 269.6
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#2F41CE
secondary
#D1C988
accent
#D342E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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