#2F29BD#2F29BD

#2F29BD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.218 H 272.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2F29BD
RGBrgb(47, 41, 189)
HSLhsl(242, 64%, 45%)
HSVhsv(242, 78%, 74%)
CMYKcmyk(75.1%, 78.3%, 0%, 25.9%)
CIE-LABlab(29.06, 50.50, -75.23)
CIE-LCHlch(29.06, 90.61, 303.87°)
OKLaboklab(41.04% 0.0112 -0.2177)
OKLCHoklch(41.04% 0.218 272.9)
XYZxyz(11.1475, 5.8632, 48.6785)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29BD #B7BD29
analogous
#296DBD #2F29BD #7929BD
triadic
#2F29BD #BD2F29 #29BD2F
tetradic
#2F29BD #BD296D #B7BD29 #29BD79
square
#2F29BD #BD296D #B7BD29 #29BD79
split-complementary
#2F29BD #BD7929 #6DBD29
monochromatic
#161358 #221E8B #2F29BD #514BD8 #827DE3

Accessibility & contrast

On white

9.66
#2F29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29BD
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29BD#FFFFFF#000000##FFFFFF
##2F29BD1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f29bd;
/* rgb */ color: rgb(47, 41, 189);
/* oklch */ color: oklch(41.0% 0.218 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f66d2',
    500: '#2f29bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f29bd;
$custom-light: #7f66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29bd",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 242.432,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.21798,
    "h": 272.9
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#2F29BD
secondary
#C8CB77
accent
#E740E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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