#2F2DA6#2F2DA6

#2F2DA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.186 H 274.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2F2DA6
RGBrgb(47, 45, 166)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 73%, 65%)
CMYKcmyk(71.7%, 72.9%, 0%, 34.9%)
CIE-LABlab(27.39, 40.80, -64.26)
CIE-LCHlch(27.39, 76.12, 302.41°)
OKLaboklab(39.14% 0.0139 -0.1858)
OKLCHoklch(39.14% 0.186 274.3)
XYZxyz(8.9913, 5.2334, 36.6053)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DA6 #A4A62D
analogous
#2D68A6 #2F2DA6 #6C2DA6
triadic
#2F2DA6 #A62F2D #2DA62F
tetradic
#2F2DA6 #A62D68 #A4A62D #2DA66C
square
#2F2DA6 #A62D68 #A4A62D #2DA66C
split-complementary
#2F2DA6 #A66C2D #68A62D
monochromatic
#141346 #212076 #2F2DA6 #4644CC #7674D9

Accessibility & contrast

On white

10.26
#2F2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F2DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DA6
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DA6#FFFFFF#000000##FFFFFF
##2F2DA61.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f2da6;
/* rgb */ color: rgb(47, 45, 166);
/* oklch */ color: oklch(39.1% 0.186 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a67c2',
    500: '#2f2da6',
    950: '#000000',
  },
}
SCSS
$custom: #2f2da6;
$custom-light: #7a67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2da6",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 240.992,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.18633,
    "h": 274.3
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#2F2DA6
secondary
#C0C16E
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2F2DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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