#2F29B0#2F29B0

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

Color values

HEX#2F29B0
RGBrgb(47, 41, 176)
HSLhsl(243, 62%, 43%)
HSVhsv(243, 77%, 69%)
CMYKcmyk(73.3%, 76.7%, 0%, 31%)
CIE-LABlab(27.64, 46.36, -69.86)
CIE-LCHlch(27.64, 83.84, 303.57°)
OKLaboklab(39.62% 0.014 -0.2021)
OKLCHoklch(39.62% 0.203 274)
XYZxyz(9.7991, 5.3238, 41.5771)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29B0 #AAB029
analogous
#2966B0 #2F29B0 #7329B0
triadic
#2F29B0 #B02F29 #29B02F
tetradic
#2F29B0 #B02966 #AAB029 #29B073
square
#2F29B0 #B02966 #AAB029 #29B073
split-complementary
#2F29B0 #B07329 #66B029
monochromatic
#14124D #221D7E #2F29B0 #4943D3 #7975DF

Accessibility & contrast

On white

10.17
#2F29B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F29B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29B0
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29B0#FFFFFF#000000##FFFFFF
##2F29B01.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f29b0;
/* rgb */ color: rgb(47, 41, 176);
/* oklch */ color: oklch(39.6% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c65c9',
    500: '#2f29b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f29b0;
$custom-light: #7c65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29b0",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 242.667,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39623,
    "c": 0.20257,
    "h": 274
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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