#2F29B6#2F29B6

#2F29B6 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.210 H 273.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2F29B6
RGBrgb(47, 41, 182)
HSLhsl(243, 63%, 44%)
HSVhsv(243, 77%, 71%)
CMYKcmyk(74.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(28.29, 48.28, -72.36)
CIE-LCHlch(28.29, 86.99, 303.71°)
OKLaboklab(40.28% 0.0127 -0.2094)
OKLCHoklch(40.28% 0.21 273.5)
XYZxyz(10.4059, 5.5665, 44.7729)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29B6 #B0B629
analogous
#2969B6 #2F29B6 #7529B6
triadic
#2F29B6 #B62F29 #29B62F
tetradic
#2F29B6 #B62969 #B0B629 #29B675
square
#2F29B6 #B62969 #B0B629 #29B675
split-complementary
#2F29B6 #B67529 #69B629
monochromatic
#151252 #221E84 #2F29B6 #4D47D5 #7D79E1

Accessibility & contrast

On white

9.94
#2F29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F29B6
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29B6#FFFFFF#000000##FFFFFF
##2F29B61.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f29b6;
/* rgb */ color: rgb(47, 41, 182);
/* oklch */ color: oklch(40.3% 0.210 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e66cd',
    500: '#2f29b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f29b6;
$custom-light: #7e66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29b6",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 242.553,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.20975,
    "h": 273.5
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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