#2F29C5#2F29C5

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

Color values

HEX#2F29C5
RGBrgb(47, 41, 197)
HSLhsl(242, 66%, 47%)
HSVhsv(242, 79%, 77%)
CMYKcmyk(76.1%, 79.2%, 0%, 22.7%)
CIE-LABlab(29.96, 53.00, -78.46)
CIE-LCHlch(29.96, 94.68, 304.04°)
OKLaboklab(41.93% 0.0094 -0.227)
OKLCHoklch(41.93% 0.227 272.4)
XYZxyz(12.0399, 6.2201, 53.3786)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29C5 #BFC529
analogous
#2971C5 #2F29C5 #7D29C5
triadic
#2F29C5 #C52F29 #29C52F
tetradic
#2F29C5 #C52971 #BFC529 #29C57D
square
#2F29C5 #C52971 #BFC529 #29C57D
split-complementary
#2F29C5 #C57D29 #71C529
monochromatic
#171460 #231E92 #2F29C5 #5651DB #8783E5

Accessibility & contrast

On white

9.36
#2F29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F29C5
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29C5#FFFFFF#000000##FFFFFF
##2F29C51.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f29c5;
/* rgb */ color: rgb(47, 41, 197);
/* oklch */ color: oklch(41.9% 0.227 272.4);
Tailwind
colors: {
  custom: {
    50: '#8166d8',
    500: '#2f29c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f29c5;
$custom-light: #8166d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29c5",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 242.308,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.22725,
    "h": 272.4
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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