#2F29BA#2F29BA

#2F29BA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.214 H 273.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2F29BA
RGBrgb(47, 41, 186)
HSLhsl(242, 64%, 45%)
HSVhsv(242, 78%, 73%)
CMYKcmyk(74.7%, 78%, 0%, 27.1%)
CIE-LABlab(28.73, 49.55, -74.01)
CIE-LCHlch(28.73, 89.06, 303.81°)
OKLaboklab(40.71% 0.0118 -0.2141)
OKLCHoklch(40.71% 0.214 273.2)
XYZxyz(10.8252, 5.7343, 46.9812)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29BA #B4BA29
analogous
#296BBA #2F29BA #7829BA
triadic
#2F29BA #BA2F29 #29BA2F
tetradic
#2F29BA #BA296B #B4BA29 #29BA78
square
#2F29BA #BA296B #B4BA29 #29BA78
split-complementary
#2F29BA #BA7829 #6BBA29
monochromatic
#161356 #221E88 #2F29BA #4F49D7 #807BE2

Accessibility & contrast

On white

9.78
#2F29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29BA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29BA#FFFFFF#000000##FFFFFF
##2F29BA1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f29ba;
/* rgb */ color: rgb(47, 41, 186);
/* oklch */ color: oklch(40.7% 0.214 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f66d0',
    500: '#2f29ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f29ba;
$custom-light: #7f66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29ba",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 242.483,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.21447,
    "h": 273.2
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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