#2F29A4#2F29A4

#2F29A4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.188 H 275.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2F29A4
RGBrgb(47, 41, 164)
HSLhsl(243, 60%, 40%)
HSVhsv(243, 75%, 64%)
CMYKcmyk(71.3%, 75%, 0%, 35.7%)
CIE-LABlab(26.36, 42.44, -64.74)
CIE-LCHlch(26.36, 77.41, 303.24°)
OKLaboklab(38.34% 0.0165 -0.1872)
OKLCHoklch(38.34% 0.188 275)
XYZxyz(8.6639, 4.8697, 35.5981)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A4 #9EA429
analogous
#2960A4 #2F29A4 #6D29A4
triadic
#2F29A4 #A42F29 #29A42F
tetradic
#2F29A4 #A42960 #9EA429 #29A46D
square
#2F29A4 #A42960 #9EA429 #29A46D
split-complementary
#2F29A4 #A46D29 #60A429
monochromatic
#131142 #211D73 #2F29A4 #433CCE #726DDA

Accessibility & contrast

On white

10.64
#2F29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A4
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A4#FFFFFF#000000##FFFFFF
##2F29A41.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f29a4;
/* rgb */ color: rgb(47, 41, 164);
/* oklch */ color: oklch(38.3% 0.188 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a65c0',
    500: '#2f29a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a4;
$custom-light: #7a65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a4",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 242.927,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.18794,
    "h": 275
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#2F29A4
secondary
#BDC168
accent
#E345DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2F29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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