#2F29A8#2F29A8

#2F29A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.193 H 274.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2F29A8
RGBrgb(47, 41, 168)
HSLhsl(243, 61%, 41%)
HSVhsv(243, 76%, 66%)
CMYKcmyk(72%, 75.6%, 0%, 34.1%)
CIE-LABlab(26.78, 43.75, -66.47)
CIE-LCHlch(26.78, 79.58, 303.36°)
OKLaboklab(38.77% 0.0157 -0.1922)
OKLCHoklch(38.77% 0.193 274.7)
XYZxyz(9.0308, 5.0165, 37.5305)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A8 #A2A829
analogous
#2962A8 #2F29A8 #6E29A8
triadic
#2F29A8 #A82F29 #29A82F
tetradic
#2F29A8 #A82962 #A2A829 #29A86E
square
#2F29A8 #A82962 #A2A829 #29A86E
split-complementary
#2F29A8 #A86E29 #62A829
monochromatic
#131146 #211D77 #2F29A8 #453ED0 #756FDC

Accessibility & contrast

On white

10.48
#2F29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A8
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A8#FFFFFF#000000##FFFFFF
##2F29A81.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f29a8;
/* rgb */ color: rgb(47, 41, 168);
/* oklch */ color: oklch(38.8% 0.193 274.7);
Tailwind
colors: {
  custom: {
    50: '#7a65c3',
    500: '#2f29a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a8;
$custom-light: #7a65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a8",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 242.835,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.19286,
    "h": 274.7
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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