#2F2BB7#2F2BB7

#2F2BB7 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.209 H 273.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2F2BB7
RGBrgb(47, 43, 183)
HSLhsl(242, 62%, 44%)
HSVhsv(242, 77%, 72%)
CMYKcmyk(74.3%, 76.5%, 0%, 28.2%)
CIE-LABlab(28.77, 47.54, -72.16)
CIE-LCHlch(28.77, 86.41, 303.38°)
OKLaboklab(40.64% 0.0117 -0.2088)
OKLCHoklch(40.64% 0.209 273.2)
XYZxyz(10.5806, 5.7499, 45.3428)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BB7 #B3B72B
analogous
#2B6DB7 #2F2BB7 #752BB7
triadic
#2F2BB7 #B72F2B #2BB72F
tetradic
#2F2BB7 #B72B6D #B3B72B #2BB775
square
#2F2BB7 #B72B6D #B3B72B #2BB775
split-complementary
#2F2BB7 #B7752B #6DB72B
monochromatic
#161454 #221F85 #2F2BB7 #4F4BD5 #7F7CE0

Accessibility & contrast

On white

9.77
#2F2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F2BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BB7
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BB7#FFFFFF#000000##FFFFFF
##2F2BB71.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2bb7;
/* rgb */ color: rgb(47, 43, 183);
/* oklch */ color: oklch(40.6% 0.209 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e67ce',
    500: '#2f2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bb7;
$custom-light: #7e67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bb7",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 241.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.20912,
    "h": 273.2
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#2F2BB7
secondary
#C6C975
accent
#E543E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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