#2F29B5#2F29B5

#2F29B5 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.209 H 273.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2F29B5
RGBrgb(47, 41, 181)
HSLhsl(243, 63%, 44%)
HSVhsv(243, 77%, 71%)
CMYKcmyk(74%, 77.3%, 0%, 29%)
CIE-LABlab(28.18, 47.96, -71.95)
CIE-LCHlch(28.18, 86.47, 303.69°)
OKLaboklab(40.17% 0.0129 -0.2081)
OKLCHoklch(40.17% 0.209 273.6)
XYZxyz(10.3029, 5.5254, 44.2306)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29B5 #AFB529
analogous
#2969B5 #2F29B5 #7529B5
triadic
#2F29B5 #B52F29 #29B52F
tetradic
#2F29B5 #B52969 #AFB529 #29B575
square
#2F29B5 #B52969 #AFB529 #29B575
split-complementary
#2F29B5 #B57529 #69B529
monochromatic
#151251 #221E83 #2F29B5 #4C46D5 #7C78E0

Accessibility & contrast

On white

9.98
#2F29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29B5
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29B5#FFFFFF#000000##FFFFFF
##2F29B51.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f29b5;
/* rgb */ color: rgb(47, 41, 181);
/* oklch */ color: oklch(40.2% 0.209 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2f29b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f29b5;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29b5",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 242.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40165,
    "c": 0.20855,
    "h": 273.6
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#2F29B5
secondary
#C4C872
accent
#E642DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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