#2F29A2#2F29A2

#2F29A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.185 H 275.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2F29A2
RGBrgb(47, 41, 162)
HSLhsl(243, 60%, 40%)
HSVhsv(243, 75%, 64%)
CMYKcmyk(71%, 74.7%, 0%, 36.5%)
CIE-LABlab(26.15, 41.77, -63.88)
CIE-LCHlch(26.15, 76.32, 303.18°)
OKLaboklab(38.13% 0.0169 -0.1847)
OKLCHoklch(38.13% 0.185 275.2)
XYZxyz(8.4847, 4.7980, 34.6544)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A2 #9CA229
analogous
#2960A2 #2F29A2 #6B29A2
triadic
#2F29A2 #A22F29 #29A22F
tetradic
#2F29A2 #A22960 #9CA229 #29A26B
square
#2F29A2 #A22960 #9CA229 #29A26B
split-complementary
#2F29A2 #A26B29 #60A229
monochromatic
#131040 #211D71 #2F29A2 #423BCD #716CDA

Accessibility & contrast

On white

10.72
#2F29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A2
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A2#FFFFFF#000000##FFFFFF
##2F29A21.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f29a2;
/* rgb */ color: rgb(47, 41, 162);
/* oklch */ color: oklch(38.1% 0.185 275.2);
Tailwind
colors: {
  custom: {
    50: '#7965bf',
    500: '#2f29a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a2;
$custom-light: #7965bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a2",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 242.975,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38131,
    "c": 0.18545,
    "h": 275.2
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#2F29A2
secondary
#BCC067
accent
#E345DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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