#2F2CBB#2F2CBB

#2F2CBB is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.213 H 272.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2F2CBB
RGBrgb(47, 44, 187)
HSLhsl(241, 62%, 45%)
HSVhsv(241, 76%, 73%)
CMYKcmyk(74.9%, 76.5%, 0%, 26.7%)
CIE-LABlab(29.39, 48.29, -73.50)
CIE-LCHlch(29.39, 87.95, 303.31°)
OKLaboklab(41.21% 0.0104 -0.2127)
OKLCHoklch(41.21% 0.213 272.8)
XYZxyz(11.0396, 5.9924, 47.5789)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CBB #B8BB2C
analogous
#2C70BB #2F2CBB #772CBB
triadic
#2F2CBB #BB2F2C #2CBB2F
tetradic
#2F2CBB #BB2C70 #B8BB2C #2CBB77
square
#2F2CBB #BB2C70 #B8BB2C #2CBB77
split-complementary
#2F2CBB #BB772C #70BB2C
monochromatic
#161558 #232089 #2F2CBB #524FD6 #8280E1

Accessibility & contrast

On white

9.55
#2F2CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2F2CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CBB
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CBB#FFFFFF#000000##FFFFFF
##2F2CBB1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2cbb;
/* rgb */ color: rgb(47, 44, 187);
/* oklch */ color: oklch(41.2% 0.213 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f68d1',
    500: '#2f2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2f2cbb;
$custom-light: #7f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2cbb",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 241.259,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.21298,
    "h": 272.8
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#2F2CBB
secondary
#C8CA79
accent
#E543E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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