#2F29A0#2F29A0

#2F29A0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.183 H 275.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2F29A0
RGBrgb(47, 41, 160)
HSLhsl(243, 59%, 39%)
HSVhsv(243, 74%, 63%)
CMYKcmyk(70.6%, 74.4%, 0%, 37.3%)
CIE-LABlab(25.94, 41.11, -63.00)
CIE-LCHlch(25.94, 75.23, 303.12°)
OKLaboklab(37.92% 0.0173 -0.1821)
OKLCHoklch(37.92% 0.183 275.4)
XYZxyz(8.3083, 4.7275, 33.7255)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F29A0 #9AA029
analogous
#295FA0 #2F29A0 #6B29A0
triadic
#2F29A0 #A02F29 #29A02F
tetradic
#2F29A0 #A0295F #9AA029 #29A06B
square
#2F29A0 #A0295F #9AA029 #29A06B
split-complementary
#2F29A0 #A06B29 #5FA029
monochromatic
#12103F #211D6F #2F29A0 #413ACC #706AD9

Accessibility & contrast

On white

10.79
#2F29A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F29A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F29A0
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F29A0#FFFFFF#000000##FFFFFF
##2F29A01.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f29a0;
/* rgb */ color: rgb(47, 41, 160);
/* oklch */ color: oklch(37.9% 0.183 275.4);
Tailwind
colors: {
  custom: {
    50: '#7964bd',
    500: '#2f29a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f29a0;
$custom-light: #7964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f29a0",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 243.025,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.18295,
    "h": 275.4
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#2F29A0
secondary
#BBBF65
accent
#E245DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2F29A0

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

Preview Lab → · Contrast checker → · Palette generator →

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