#2F29AA#2F29AA

#2F29AA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.195 H 274.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2F29AA
RGBrgb(47, 41, 170)
HSLhsl(243, 61%, 41%)
HSVhsv(243, 76%, 67%)
CMYKcmyk(72.4%, 75.9%, 0%, 33.3%)
CIE-LABlab(26.99, 44.41, -67.32)
CIE-LCHlch(26.99, 80.65, 303.41°)
OKLaboklab(38.98% 0.0153 -0.1947)
OKLCHoklch(38.98% 0.195 274.5)
XYZxyz(9.2185, 5.0916, 38.5194)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29AA #A4AA29
analogous
#2964AA #2F29AA #7029AA
triadic
#2F29AA #AA2F29 #29AA2F
tetradic
#2F29AA #AA2964 #A4AA29 #29AA70
square
#2F29AA #AA2964 #A4AA29 #29AA70
split-complementary
#2F29AA #AA7029 #64AA29
monochromatic
#141147 #211D79 #2F29AA #463FD1 #7671DD

Accessibility & contrast

On white

10.40
#2F29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29AA
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29AA#FFFFFF#000000##FFFFFF
##2F29AA1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f29aa;
/* rgb */ color: rgb(47, 41, 170);
/* oklch */ color: oklch(39.0% 0.195 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b65c5',
    500: '#2f29aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f29aa;
$custom-light: #7b65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29aa",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 242.791,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.19531,
    "h": 274.5
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#2F29AA
secondary
#C0C46B
accent
#E444DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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