#2B2FB6#2B2FB6

#2B2FB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.205 H 271.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2FB6
RGBrgb(43, 47, 182)
HSLhsl(238, 62%, 44%)
HSVhsv(238, 76%, 71%)
CMYKcmyk(76.4%, 74.2%, 0%, 28.6%)
CIE-LABlab(29.22, 44.66, -70.84)
CIE-LCHlch(29.22, 83.74, 302.23°)
OKLaboklab(40.87% 0.0056 -0.2051)
OKLCHoklch(40.87% 0.205 271.6)
XYZxyz(10.4534, 5.9229, 44.8392)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FB6 #B6B22B
analogous
#2B75B6 #2B2FB6 #6C2BB6
triadic
#2B2FB6 #B62B2F #2FB62B
tetradic
#2B2FB6 #B62B75 #B6B22B #2BB66C
square
#2B2FB6 #B62B75 #B6B22B #2BB66C
split-complementary
#2B2FB6 #B66C2B #75B62B
monochromatic
#141553 #1F2284 #2B2FB6 #4A4ED4 #7B7EE0

Accessibility & contrast

On white

9.61
#2B2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2FB6
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FB6#FFFFFF#000000##FFFFFF
##2B2FB61.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2fb6;
/* rgb */ color: rgb(43, 47, 182);
/* oklch */ color: oklch(40.9% 0.205 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c69cd',
    500: '#2b2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fb6;
$custom-light: #7c69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fb6",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 238.273,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.20515,
    "h": 271.6
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#2B2FB6
secondary
#C8C675
accent
#E043E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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