#2F2BBA#2F2BBA

#2F2BBA is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.213 H 273.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2F2BBA
RGBrgb(47, 43, 186)
HSLhsl(242, 62%, 45%)
HSVhsv(242, 77%, 73%)
CMYKcmyk(74.7%, 76.9%, 0%, 27.1%)
CIE-LABlab(29.10, 48.51, -73.40)
CIE-LCHlch(29.10, 87.98, 303.46°)
OKLaboklab(40.97% 0.0111 -0.2124)
OKLCHoklch(40.97% 0.213 273)
XYZxyz(10.8961, 5.8761, 47.0048)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BBA #B6BA2B
analogous
#2B6FBA #2F2BBA #762BBA
triadic
#2F2BBA #BA2F2B #2BBA2F
tetradic
#2F2BBA #BA2B6F #B6BA2B #2BBA76
square
#2F2BBA #BA2B6F #B6BA2B #2BBA76
split-complementary
#2F2BBA #BA762B #6FBA2B
monochromatic
#161457 #222088 #2F2BBA #504CD6 #817EE1

Accessibility & contrast

On white

9.65
#2F2BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2BBA
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BBA#FFFFFF#000000##FFFFFF
##2F2BBA1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2bba;
/* rgb */ color: rgb(47, 43, 186);
/* oklch */ color: oklch(41.0% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e67d0',
    500: '#2f2bba',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bba;
$custom-light: #7e67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bba",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 241.678,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.21269,
    "h": 273
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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