#2F2BB3#2F2BB3

#2F2BB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.204 H 273.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2F2BB3
RGBrgb(47, 43, 179)
HSLhsl(242, 61%, 44%)
HSVhsv(242, 76%, 70%)
CMYKcmyk(73.7%, 76%, 0%, 29.8%)
CIE-LABlab(28.34, 46.24, -70.49)
CIE-LCHlch(28.34, 84.30, 303.27°)
OKLaboklab(40.22% 0.0125 -0.2039)
OKLCHoklch(40.22% 0.204 273.5)
XYZxyz(10.1701, 5.5857, 43.1813)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BB3 #AFB32B
analogous
#2B6BB3 #2F2BB3 #732BB3
triadic
#2F2BB3 #B32F2B #2BB32F
tetradic
#2F2BB3 #B32B6B #AFB32B #2BB373
square
#2F2BB3 #B32B6B #AFB32B #2BB373
split-complementary
#2F2BB3 #B3732B #6BB32B
monochromatic
#151350 #221F82 #2F2BB3 #4C48D3 #7C79DF

Accessibility & contrast

On white

9.92
#2F2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BB3
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BB3#FFFFFF#000000##FFFFFF
##2F2BB31.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f2bb3;
/* rgb */ color: rgb(47, 43, 179);
/* oklch */ color: oklch(40.2% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d67cb',
    500: '#2f2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2bb3;
$custom-light: #7d67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2bb3",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 241.765,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40215,
    "c": 0.20432,
    "h": 273.5
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#2F2BB3
secondary
#C4C773
accent
#E443E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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