#2F2BBB#2F2BBB

#2F2BBB is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.214 H 272.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2F2BBB
RGBrgb(47, 43, 187)
HSLhsl(242, 63%, 45%)
HSVhsv(242, 77%, 73%)
CMYKcmyk(74.9%, 77%, 0%, 26.7%)
CIE-LABlab(29.21, 48.83, -73.81)
CIE-LCHlch(29.21, 88.50, 303.48°)
OKLaboklab(41.08% 0.0109 -0.2136)
OKLCHoklch(41.08% 0.214 272.9)
XYZxyz(11.0028, 5.9188, 47.5666)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BBB #B7BB2B
analogous
#2B6FBB #2F2BBB #772BBB
triadic
#2F2BBB #BB2F2B #2BBB2F
tetradic
#2F2BBB #BB2B6F #B7BB2B #2BBB77
square
#2F2BBB #BB2B6F #B7BB2B #2BBB77
split-complementary
#2F2BBB #BB772B #6FBB2B
monochromatic
#161457 #222089 #2F2BBB #514DD6 #827FE2

Accessibility & contrast

On white

9.62
#2F2BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2F2BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BBB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BBB#FFFFFF#000000##FFFFFF
##2F2BBB1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f2bbb;
/* rgb */ color: rgb(47, 43, 187);
/* oklch */ color: oklch(41.1% 0.214 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f67d1',
    500: '#2f2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bbb;
$custom-light: #7f67d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bbb",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 241.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41079,
    "c": 0.21388,
    "h": 272.9
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#2F2BBB
secondary
#C8CA78
accent
#E642E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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