#2F29BB#2F29BB

#2F29BB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.216 H 273.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2F29BB
RGBrgb(47, 41, 187)
HSLhsl(242, 64%, 45%)
HSVhsv(242, 78%, 73%)
CMYKcmyk(74.9%, 78.1%, 0%, 26.7%)
CIE-LABlab(28.84, 49.87, -74.42)
CIE-LCHlch(28.84, 89.58, 303.83°)
OKLaboklab(40.82% 0.0116 -0.2153)
OKLCHoklch(40.82% 0.216 273.1)
XYZxyz(10.9319, 5.7769, 47.5430)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29BB #B5BB29
analogous
#296CBB #2F29BB #7829BB
triadic
#2F29BB #BB2F29 #29BB2F
tetradic
#2F29BB #BB296C #B5BB29 #29BB78
square
#2F29BB #BB296C #B5BB29 #29BB78
split-complementary
#2F29BB #BB7829 #6CBB29
monochromatic
#161357 #221E89 #2F29BB #504AD7 #807CE2

Accessibility & contrast

On white

9.74
#2F29BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F29BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29BB
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29BB#FFFFFF#000000##FFFFFF
##2F29BB1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f29bb;
/* rgb */ color: rgb(47, 41, 187);
/* oklch */ color: oklch(40.8% 0.216 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f66d1',
    500: '#2f29bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f29bb;
$custom-light: #7f66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29bb",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 242.466,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.21564,
    "h": 273.1
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#2F29BB
secondary
#C7CB75
accent
#E741E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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