#2F2BD2#2F2BD2

#2F2BD2 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.6% C 0.240 H 271.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2F2BD2
RGBrgb(47, 43, 210)
HSLhsl(241, 66%, 50%)
HSVhsv(241, 80%, 82%)
CMYKcmyk(77.6%, 79.5%, 0%, 17.6%)
CIE-LABlab(31.77, 56.03, -83.04)
CIE-LCHlch(31.77, 100.18, 304.01°)
OKLaboklab(43.62% 0.006 -0.2404)
OKLCHoklch(43.62% 0.24 271.4)
XYZxyz(13.6651, 6.9837, 61.5881)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BD2 #CED22B
analogous
#2B7BD2 #2F2BD2 #832BD2
triadic
#2F2BD2 #D22F2B #2BD22F
tetradic
#2F2BD2 #D22B7B #CED22B #2BD283
square
#2F2BD2 #D22B7B #CED22B #2BD283
split-complementary
#2F2BD2 #D2832B #7BD22B
monochromatic
#18166C #24219F #2F2BD2 #605CDE #918FE8

Accessibility & contrast

On white

8.76
#2F2BD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F2BD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BD2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BD2#FFFFFF#000000##FFFFFF
##2F2BD21.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D7
Deuteranopia (green-blind)
#0042CF
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f2bd2;
/* rgb */ color: rgb(47, 43, 210);
/* oklch */ color: oklch(43.6% 0.240 271.4);
Tailwind
colors: {
  custom: {
    50: '#8468e1',
    500: '#2f2bd2',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bd2;
$custom-light: #8468e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bd2",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 210
  },
  "hsl": {
    "h": 241.437,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.24045,
    "h": 271.4
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#2F2BD2
secondary
#D1D386
accent
#E93FE5
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2F2BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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