#2F29AF#2F29AF

#2F29AF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.201 H 274.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2F29AF
RGBrgb(47, 41, 175)
HSLhsl(243, 62%, 42%)
HSVhsv(243, 77%, 69%)
CMYKcmyk(73.1%, 76.6%, 0%, 31.4%)
CIE-LABlab(27.53, 46.03, -69.44)
CIE-LCHlch(27.53, 83.31, 303.54°)
OKLaboklab(39.52% 0.0142 -0.2009)
OKLCHoklch(39.52% 0.201 274)
XYZxyz(9.7005, 5.2844, 41.0579)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29AF #A9AF29
analogous
#2966AF #2F29AF #7229AF
triadic
#2F29AF #AF2F29 #29AF2F
tetradic
#2F29AF #AF2966 #A9AF29 #29AF72
square
#2F29AF #AF2966 #A9AF29 #29AF72
split-complementary
#2F29AF #AF7229 #66AF29
monochromatic
#14124C #221D7D #2F29AF #4942D3 #7974DE

Accessibility & contrast

On white

10.21
#2F29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29AF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29AF#FFFFFF#000000##FFFFFF
##2F29AF1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f29af;
/* rgb */ color: rgb(47, 41, 175);
/* oklch */ color: oklch(39.5% 0.201 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c65c8',
    500: '#2f29af',
    950: '#000000',
  },
}
SCSS
$custom: #2f29af;
$custom-light: #7c65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29af",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 242.687,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.20137,
    "h": 274
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#2F29AF
secondary
#C2C66E
accent
#E543DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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