#2F29B4#2F29B4

#2F29B4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.207 H 273.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2F29B4
RGBrgb(47, 41, 180)
HSLhsl(243, 63%, 43%)
HSVhsv(243, 77%, 71%)
CMYKcmyk(73.9%, 77.2%, 0%, 29.4%)
CIE-LABlab(28.07, 47.64, -71.53)
CIE-LCHlch(28.07, 85.94, 303.67°)
OKLaboklab(40.06% 0.0131 -0.2069)
OKLCHoklch(40.06% 0.207 273.6)
XYZxyz(10.2007, 5.4845, 43.6922)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29B4 #AEB429
analogous
#2968B4 #2F29B4 #7429B4
triadic
#2F29B4 #B42F29 #29B42F
tetradic
#2F29B4 #B42968 #AEB429 #29B474
square
#2F29B4 #B42968 #AEB429 #29B474
split-complementary
#2F29B4 #B47429 #68B429
monochromatic
#151250 #221E82 #2F29B4 #4C45D5 #7C77E0

Accessibility & contrast

On white

10.01
#2F29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29B4
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29B4#FFFFFF#000000##FFFFFF
##2F29B41.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f29b4;
/* rgb */ color: rgb(47, 41, 180);
/* oklch */ color: oklch(40.1% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d65cc',
    500: '#2f29b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f29b4;
$custom-light: #7d65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29b4",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 242.59,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.20737,
    "h": 273.6
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#2F29B4
secondary
#C4C871
accent
#E642DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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