#2F29A9#2F29A9

#2F29A9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.194 H 274.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2F29A9
RGBrgb(47, 41, 169)
HSLhsl(243, 61%, 41%)
HSVhsv(243, 76%, 66%)
CMYKcmyk(72.2%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.89, 44.08, -66.90)
CIE-LCHlch(26.89, 80.11, 303.38°)
OKLaboklab(38.87% 0.0155 -0.1935)
OKLCHoklch(38.87% 0.194 274.6)
XYZxyz(9.1243, 5.0539, 38.0231)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A9 #A3A929
analogous
#2963A9 #2F29A9 #6F29A9
triadic
#2F29A9 #A92F29 #29A92F
tetradic
#2F29A9 #A92963 #A3A929 #29A96F
square
#2F29A9 #A92963 #A3A929 #29A96F
split-complementary
#2F29A9 #A96F29 #63A929
monochromatic
#141146 #211D78 #2F29A9 #463FD0 #7570DC

Accessibility & contrast

On white

10.44
#2F29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A9
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A9#FFFFFF#000000##FFFFFF
##2F29A91.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f29a9;
/* rgb */ color: rgb(47, 41, 169);
/* oklch */ color: oklch(38.9% 0.194 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b65c4',
    500: '#2f29a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a9;
$custom-light: #7b65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a9",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 242.813,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38871,
    "c": 0.19409,
    "h": 274.6
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#2F29A9
secondary
#BFC36A
accent
#E444DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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