#2F29BC#2F29BC

#2F29BC is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.217 H 273.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2F29BC
RGBrgb(47, 41, 188)
HSLhsl(242, 64%, 45%)
HSVhsv(242, 78%, 74%)
CMYKcmyk(75%, 78.2%, 0%, 26.3%)
CIE-LABlab(28.95, 50.19, -74.82)
CIE-LCHlch(28.95, 90.10, 303.85°)
OKLaboklab(40.93% 0.0114 -0.2165)
OKLCHoklch(40.93% 0.217 273)
XYZxyz(11.0393, 5.8199, 48.1088)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29BC #B6BC29
analogous
#296DBC #2F29BC #7929BC
triadic
#2F29BC #BC2F29 #29BC2F
tetradic
#2F29BC #BC296D #B6BC29 #29BC79
square
#2F29BC #BC296D #B6BC29 #29BC79
split-complementary
#2F29BC #BC7929 #6DBC29
monochromatic
#161358 #221E8A #2F29BC #504BD8 #817DE3

Accessibility & contrast

On white

9.70
#2F29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29BC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29BC#FFFFFF#000000##FFFFFF
##2F29BC1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#003DB9
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f29bc;
/* rgb */ color: rgb(47, 41, 188);
/* oklch */ color: oklch(40.9% 0.217 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f66d2',
    500: '#2f29bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f29bc;
$custom-light: #7f66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29bc",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 242.449,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.21681,
    "h": 273
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#2F29BC
secondary
#C7CB76
accent
#E741E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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