#2F2BCA#2F2BCA

#2F2BCA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.231 H 271.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2F2BCA
RGBrgb(47, 43, 202)
HSLhsl(242, 65%, 48%)
HSVhsv(242, 79%, 79%)
CMYKcmyk(76.7%, 78.7%, 0%, 20.8%)
CIE-LABlab(30.87, 53.56, -79.88)
CIE-LCHlch(30.87, 96.18, 303.84°)
OKLaboklab(42.73% 0.0077 -0.2312)
OKLCHoklch(42.73% 0.231 271.9)
XYZxyz(12.6932, 6.5950, 56.4696)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BCA #C6CA2B
analogous
#2B77CA #2F2BCA #7E2BCA
triadic
#2F2BCA #CA2F2B #2BCA2F
tetradic
#2F2BCA #CA2B77 #C6CA2B #2BCA7E
square
#2F2BCA #CA2B77 #C6CA2B #2BCA7E
split-complementary
#2F2BCA #CA7E2B #77CA2B
monochromatic
#181665 #232098 #2F2BCA #5A57DB #8C89E6

Accessibility & contrast

On white

9.05
#2F2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BCA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BCA#FFFFFF#000000##FFFFFF
##2F2BCA1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f2bca;
/* rgb */ color: rgb(47, 43, 202);
/* oklch */ color: oklch(42.7% 0.231 271.9);
Tailwind
colors: {
  custom: {
    50: '#8268dc',
    500: '#2f2bca',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bca;
$custom-light: #8268dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bca",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 241.509,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.23135,
    "h": 271.9
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#2F2BCA
secondary
#CED081
accent
#E840E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2F2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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