#2F29B3#2F29B3

#2F29B3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.206 H 273.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2F29B3
RGBrgb(47, 41, 179)
HSLhsl(243, 63%, 43%)
HSVhsv(243, 77%, 70%)
CMYKcmyk(73.7%, 77.1%, 0%, 29.8%)
CIE-LABlab(27.96, 47.32, -71.11)
CIE-LCHlch(27.96, 85.42, 303.64°)
OKLaboklab(39.95% 0.0134 -0.2057)
OKLCHoklch(39.95% 0.206 273.7)
XYZxyz(10.0992, 5.4439, 43.1576)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29B3 #ADB329
analogous
#2968B3 #2F29B3 #7429B3
triadic
#2F29B3 #B32F29 #29B32F
tetradic
#2F29B3 #B32968 #ADB329 #29B374
square
#2F29B3 #B32968 #ADB329 #29B374
split-complementary
#2F29B3 #B37429 #68B329
monochromatic
#15124F #221E81 #2F29B3 #4B45D4 #7B77E0

Accessibility & contrast

On white

10.05
#2F29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29B3
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29B3#FFFFFF#000000##FFFFFF
##2F29B31.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f29b3;
/* rgb */ color: rgb(47, 41, 179);
/* oklch */ color: oklch(39.9% 0.206 273.7);
Tailwind
colors: {
  custom: {
    50: '#7d65cb',
    500: '#2f29b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f29b3;
$custom-light: #7d65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29b3",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 242.609,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.20617,
    "h": 273.7
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#2F29B3
secondary
#C4C770
accent
#E642DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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