#2F29C4#2F29C4

#2F29C4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.226 H 272.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2F29C4
RGBrgb(47, 41, 196)
HSLhsl(242, 65%, 46%)
HSVhsv(242, 79%, 77%)
CMYKcmyk(76%, 79.1%, 0%, 23.1%)
CIE-LABlab(29.85, 52.69, -78.06)
CIE-LCHlch(29.85, 94.18, 304.02°)
OKLaboklab(41.82% 0.0096 -0.2259)
OKLCHoklch(41.82% 0.226 272.4)
XYZxyz(11.9257, 6.1745, 52.7771)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29C4 #BEC429
analogous
#2970C4 #2F29C4 #7D29C4
triadic
#2F29C4 #C42F29 #29C42F
tetradic
#2F29C4 #C42970 #BEC429 #29C47D
square
#2F29C4 #C42970 #BEC429 #29C47D
split-complementary
#2F29C4 #C47D29 #70C429
monochromatic
#17145F #231E91 #2F29C4 #5550DA #8682E5

Accessibility & contrast

On white

9.40
#2F29C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F29C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29C4
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29C4#FFFFFF#000000##FFFFFF
##2F29C41.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC8
Deuteranopia (green-blind)
#003FC1
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f29c4;
/* rgb */ color: rgb(47, 41, 196);
/* oklch */ color: oklch(41.8% 0.226 272.4);
Tailwind
colors: {
  custom: {
    50: '#8166d7',
    500: '#2f29c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f29c4;
$custom-light: #8166d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29c4",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 242.323,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.2261,
    "h": 272.4
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#2F29C4
secondary
#CBCE7B
accent
#E83FE2
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2F29C4

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

Preview Lab → · Contrast checker → · Palette generator →

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