#2F29B7#2F29B7

#2F29B7 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.211 H 273.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2F29B7
RGBrgb(47, 41, 183)
HSLhsl(243, 63%, 44%)
HSVhsv(243, 78%, 72%)
CMYKcmyk(74.3%, 77.6%, 0%, 28.2%)
CIE-LABlab(28.40, 48.60, -72.77)
CIE-LCHlch(28.40, 87.51, 303.74°)
OKLaboklab(40.38% 0.0125 -0.2106)
OKLCHoklch(40.38% 0.211 273.4)
XYZxyz(10.5096, 5.6080, 45.3191)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29B7 #B1B729
analogous
#296AB7 #2F29B7 #7629B7
triadic
#2F29B7 #B72F29 #29B72F
tetradic
#2F29B7 #B7296A #B1B729 #29B776
square
#2F29B7 #B7296A #B1B729 #29B776
split-complementary
#2F29B7 #B77629 #6AB729
monochromatic
#151353 #221E85 #2F29B7 #4D47D6 #7E79E1

Accessibility & contrast

On white

9.90
#2F29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29B7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29B7#FFFFFF#000000##FFFFFF
##2F29B71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f29b7;
/* rgb */ color: rgb(47, 41, 183);
/* oklch */ color: oklch(40.4% 0.211 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e66ce',
    500: '#2f29b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f29b7;
$custom-light: #7e66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29b7",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 242.535,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.21093,
    "h": 273.4
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#2F29B7
secondary
#C5C973
accent
#E641DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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