#2F2BCE#2F2BCE

#2F2BCE is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.236 H 271.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2F2BCE
RGBrgb(47, 43, 206)
HSLhsl(241, 65%, 49%)
HSVhsv(241, 79%, 81%)
CMYKcmyk(77.2%, 79.1%, 0%, 19.2%)
CIE-LABlab(31.32, 54.80, -81.47)
CIE-LCHlch(31.32, 98.19, 303.93°)
OKLaboklab(43.17% 0.0069 -0.2358)
OKLCHoklch(43.17% 0.236 271.7)
XYZxyz(13.1730, 6.7869, 58.9963)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BCE #CACE2B
analogous
#2B79CE #2F2BCE #812BCE
triadic
#2F2BCE #CE2F2B #2BCE2F
tetradic
#2F2BCE #CE2B79 #CACE2B #2BCE81
square
#2F2BCE #CE2B79 #CACE2B #2BCE81
split-complementary
#2F2BCE #CE812B #79CE2B
monochromatic
#181669 #23209B #2F2BCE #5D5ADC #8F8CE7

Accessibility & contrast

On white

8.91
#2F2BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F2BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BCE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BCE#FFFFFF#000000##FFFFFF
##2F2BCE1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D3
Deuteranopia (green-blind)
#0041CB
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f2bce;
/* rgb */ color: rgb(47, 43, 206);
/* oklch */ color: oklch(43.2% 0.236 271.7);
Tailwind
colors: {
  custom: {
    50: '#8368df',
    500: '#2f2bce',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bce;
$custom-light: #8368df;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bce",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 241.472,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.23591,
    "h": 271.7
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#2F2BCE
secondary
#CFD184
accent
#E83FE4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #2F2BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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