#2F29AC#2F29AC

#2F29AC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.198 H 274.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2F29AC
RGBrgb(47, 41, 172)
HSLhsl(243, 62%, 42%)
HSVhsv(243, 76%, 67%)
CMYKcmyk(72.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(27.21, 45.06, -68.17)
CIE-LCHlch(27.21, 81.72, 303.46°)
OKLaboklab(39.19% 0.0149 -0.1972)
OKLCHoklch(39.19% 0.198 274.3)
XYZxyz(9.4092, 5.1678, 39.5233)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29AC #A6AC29
analogous
#2965AC #2F29AC #7129AC
triadic
#2F29AC #AC2F29 #29AC2F
tetradic
#2F29AC #AC2965 #A6AC29 #29AC71
square
#2F29AC #AC2965 #A6AC29 #29AC71
split-complementary
#2F29AC #AC7129 #65AC29
monochromatic
#141149 #211D7B #2F29AC #4741D2 #7772DD

Accessibility & contrast

On white

10.33
#2F29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29AC
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29AC#FFFFFF#000000##FFFFFF
##2F29AC1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f29ac;
/* rgb */ color: rgb(47, 41, 172);
/* oklch */ color: oklch(39.2% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b65c6',
    500: '#2f29ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f29ac;
$custom-light: #7b65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29ac",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 242.748,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.19774,
    "h": 274.3
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#2F29AC
secondary
#C1C56C
accent
#E543DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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