#2F2BB4#2F2BB4

#2F2BB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.206 H 273.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2F2BB4
RGBrgb(47, 43, 180)
HSLhsl(242, 61%, 44%)
HSVhsv(242, 76%, 71%)
CMYKcmyk(73.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(28.45, 46.57, -70.91)
CIE-LCHlch(28.45, 84.83, 303.29°)
OKLaboklab(40.32% 0.0123 -0.2052)
OKLCHoklch(40.32% 0.206 273.4)
XYZxyz(10.2716, 5.6263, 43.7158)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BB4 #B0B42B
analogous
#2B6BB4 #2F2BB4 #732BB4
triadic
#2F2BB4 #B42F2B #2BB42F
tetradic
#2F2BB4 #B42B6B #B0B42B #2BB473
square
#2F2BB4 #B42B6B #B0B42B #2BB473
split-complementary
#2F2BB4 #B4732B #6BB42B
monochromatic
#151351 #221F83 #2F2BB4 #4D49D3 #7D7ADF

Accessibility & contrast

On white

9.88
#2F2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BB4
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BB4#FFFFFF#000000##FFFFFF
##2F2BB41.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2bb4;
/* rgb */ color: rgb(47, 43, 180);
/* oklch */ color: oklch(40.3% 0.206 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d67cc',
    500: '#2f2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bb4;
$custom-light: #7d67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bb4",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 241.752,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.20553,
    "h": 273.4
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#2F2BB4
secondary
#C5C773
accent
#E543E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2F2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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