#2F29A1#2F29A1

#2F29A1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.184 H 275.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2F29A1
RGBrgb(47, 41, 161)
HSLhsl(243, 59%, 40%)
HSVhsv(243, 75%, 63%)
CMYKcmyk(70.8%, 74.5%, 0%, 36.9%)
CIE-LABlab(26.05, 41.44, -63.44)
CIE-LCHlch(26.05, 75.78, 303.15°)
OKLaboklab(38.03% 0.0171 -0.1834)
OKLCHoklch(38.03% 0.184 275.3)
XYZxyz(8.3961, 4.7626, 34.1881)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A1 #9BA129
analogous
#295FA1 #2F29A1 #6B29A1
triadic
#2F29A1 #A12F29 #29A12F
tetradic
#2F29A1 #A1295F #9BA129 #29A16B
square
#2F29A1 #A1295F #9BA129 #29A16B
split-complementary
#2F29A1 #A16B29 #5FA129
monochromatic
#13103F #211D70 #2F29A1 #423ACD #716BD9

Accessibility & contrast

On white

10.75
#2F29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F29A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A1
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A1#FFFFFF#000000##FFFFFF
##2F29A11.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f29a1;
/* rgb */ color: rgb(47, 41, 161);
/* oklch */ color: oklch(38.0% 0.184 275.3);
Tailwind
colors: {
  custom: {
    50: '#7964be',
    500: '#2f29a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a1;
$custom-light: #7964be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a1",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 243,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38026,
    "c": 0.18421,
    "h": 275.3
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#2F29A1
secondary
#BBC066
accent
#E345DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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