#2F29A5#2F29A5

#2F29A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.189 H 274.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2F29A5
RGBrgb(47, 41, 165)
HSLhsl(243, 60%, 40%)
HSVhsv(243, 75%, 65%)
CMYKcmyk(71.5%, 75.2%, 0%, 35.3%)
CIE-LABlab(26.47, 42.77, -65.18)
CIE-LCHlch(26.47, 77.95, 303.27°)
OKLaboklab(38.45% 0.0163 -0.1885)
OKLCHoklch(38.45% 0.189 274.9)
XYZxyz(8.7545, 4.9060, 36.0756)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A5 #9FA529
analogous
#2961A5 #2F29A5 #6D29A5
triadic
#2F29A5 #A52F29 #29A52F
tetradic
#2F29A5 #A52961 #9FA529 #29A56D
square
#2F29A5 #A52961 #9FA529 #29A56D
split-complementary
#2F29A5 #A56D29 #61A529
monochromatic
#131143 #211D74 #2F29A5 #443DCF #736EDB

Accessibility & contrast

On white

10.60
#2F29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A5
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A5#FFFFFF#000000##FFFFFF
##2F29A51.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f29a5;
/* rgb */ color: rgb(47, 41, 165);
/* oklch */ color: oklch(38.4% 0.189 274.9);
Tailwind
colors: {
  custom: {
    50: '#7a65c1',
    500: '#2f29a5',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a5;
$custom-light: #7a65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a5",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 242.903,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38447,
    "c": 0.18917,
    "h": 274.9
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#2F29A5
secondary
#BDC268
accent
#E344DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2F29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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