#2F29A6#2F29A6

#2F29A6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.190 H 274.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2F29A6
RGBrgb(47, 41, 166)
HSLhsl(243, 60%, 41%)
HSVhsv(243, 75%, 65%)
CMYKcmyk(71.7%, 75.3%, 0%, 34.9%)
CIE-LABlab(26.57, 43.10, -65.61)
CIE-LCHlch(26.57, 78.50, 303.30°)
OKLaboklab(38.55% 0.0161 -0.1897)
OKLCHoklch(38.55% 0.19 274.8)
XYZxyz(8.8459, 4.9425, 36.5568)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A6 #A0A629
analogous
#2961A6 #2F29A6 #6D29A6
triadic
#2F29A6 #A62F29 #29A62F
tetradic
#2F29A6 #A62961 #A0A629 #29A66D
square
#2F29A6 #A62961 #A0A629 #29A66D
split-complementary
#2F29A6 #A66D29 #61A629
monochromatic
#131144 #211D75 #2F29A6 #443DCF #736EDB

Accessibility & contrast

On white

10.56
#2F29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A6
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A6#FFFFFF#000000##FFFFFF
##2F29A61.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f29a6;
/* rgb */ color: rgb(47, 41, 166);
/* oklch */ color: oklch(38.6% 0.190 274.8);
Tailwind
colors: {
  custom: {
    50: '#7a65c2',
    500: '#2f29a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a6;
$custom-light: #7a65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a6",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 242.88,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.1904,
    "h": 274.8
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#2F29A6
secondary
#BEC269
accent
#E444DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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