#2B2FE2#2B2FE2

#2B2FE2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.7% C 0.256 H 269.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2FE2
RGBrgb(43, 47, 226)
HSLhsl(239, 76%, 53%)
HSVhsv(239, 81%, 89%)
CMYKcmyk(81%, 79.2%, 0%, 11.4%)
CIE-LABlab(34.06, 58.78, -88.47)
CIE-LCHlch(34.06, 106.22, 303.60°)
OKLaboklab(45.69% -0.0023 -0.2562)
OKLCHoklch(45.69% 0.256 269.5)
XYZxyz(15.7356, 8.0357, 72.6585)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FE2 #E2DE2B
analogous
#2B8AE2 #2B2FE2 #832BE2
triadic
#2B2FE2 #E22B2F #2FE22B
tetradic
#2B2FE2 #E22B8A #E2DE2B #2BE283
square
#2B2FE2 #E22B8A #E2DE2B #2BE283
split-complementary
#2B2FE2 #E2832B #8AE22B
monochromatic
#121481 #191CB7 #2B2FE2 #6164E9 #9799F1

Accessibility & contrast

On white

8.05
#2B2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B2FE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FE2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FE2#FFFFFF#000000##FFFFFF
##2B2FE21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0046DF
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b2fe2;
/* rgb */ color: rgb(43, 47, 226);
/* oklch */ color: oklch(45.7% 0.256 269.5);
Tailwind
colors: {
  custom: {
    50: '#876bed',
    500: '#2b2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fe2;
$custom-light: #876bed;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fe2",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 238.689,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.25622,
    "h": 269.5
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#2B2FE2
secondary
#DCDA8D
accent
#EE35F3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2B2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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