#2F29AE#2F29AE

#2F29AE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.200 H 274.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2F29AE
RGBrgb(47, 41, 174)
HSLhsl(243, 62%, 42%)
HSVhsv(243, 76%, 68%)
CMYKcmyk(73%, 76.4%, 0%, 31.8%)
CIE-LABlab(27.42, 45.71, -69.02)
CIE-LCHlch(27.42, 82.78, 303.52°)
OKLaboklab(39.41% 0.0144 -0.1996)
OKLCHoklch(39.41% 0.2 274.1)
XYZxyz(9.6027, 5.2452, 40.5426)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29AE #A8AE29
analogous
#2965AE #2F29AE #7229AE
triadic
#2F29AE #AE2F29 #29AE2F
tetradic
#2F29AE #AE2965 #A8AE29 #29AE72
square
#2F29AE #AE2965 #A8AE29 #29AE72
split-complementary
#2F29AE #AE7229 #65AE29
monochromatic
#14124B #221D7C #2F29AE #4842D2 #7873DE

Accessibility & contrast

On white

10.25
#2F29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29AE
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29AE#FFFFFF#000000##FFFFFF
##2F29AE1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f29ae;
/* rgb */ color: rgb(47, 41, 174);
/* oklch */ color: oklch(39.4% 0.200 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c65c7',
    500: '#2f29ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f29ae;
$custom-light: #7c65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29ae",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 242.707,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.20016,
    "h": 274.1
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#2F29AE
secondary
#C1C56D
accent
#E543DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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