#2F29A3#2F29A3

#2F29A3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.187 H 275.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2F29A3
RGBrgb(47, 41, 163)
HSLhsl(243, 60%, 40%)
HSVhsv(243, 75%, 64%)
CMYKcmyk(71.2%, 74.8%, 0%, 36.1%)
CIE-LABlab(26.26, 42.11, -64.31)
CIE-LCHlch(26.26, 76.87, 303.21°)
OKLaboklab(38.24% 0.0167 -0.1859)
OKLCHoklch(38.24% 0.187 275.1)
XYZxyz(8.5739, 4.8337, 35.1244)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A3 #9DA329
analogous
#2960A3 #2F29A3 #6C29A3
triadic
#2F29A3 #A32F29 #29A32F
tetradic
#2F29A3 #A32960 #9DA329 #29A36C
square
#2F29A3 #A32960 #9DA329 #29A36C
split-complementary
#2F29A3 #A36C29 #60A329
monochromatic
#131041 #211D72 #2F29A3 #433BCE #726CDA

Accessibility & contrast

On white

10.68
#2F29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A3
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A3#FFFFFF#000000##FFFFFF
##2F29A31.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f29a3;
/* rgb */ color: rgb(47, 41, 163);
/* oklch */ color: oklch(38.2% 0.187 275.1);
Tailwind
colors: {
  custom: {
    50: '#7965bf',
    500: '#2f29a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a3;
$custom-light: #7965bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a3",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 242.951,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.18669,
    "h": 275.1
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#2F29A3
secondary
#BCC167
accent
#E345DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2F29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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