#2B2FC4#2B2FC4

#2B2FC4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.222 H 270.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2FC4
RGBrgb(43, 47, 196)
HSLhsl(238, 64%, 47%)
HSVhsv(238, 78%, 77%)
CMYKcmyk(78.1%, 76%, 0%, 23.1%)
CIE-LABlab(30.71, 49.29, -76.63)
CIE-LCHlch(30.71, 91.11, 302.75°)
OKLaboklab(42.37% 0.0032 -0.2219)
OKLCHoklch(42.37% 0.222 270.8)
XYZxyz(11.9732, 6.5308, 52.8434)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2FC4 #C4C02B
analogous
#2B7CC4 #2B2FC4 #732BC4
triadic
#2B2FC4 #C42B2F #2FC42B
tetradic
#2B2FC4 #C42B7C #C4C02B #2BC473
square
#2B2FC4 #C42B7C #C4C02B #2BC473
split-complementary
#2B2FC4 #C4732B #7CC42B
monochromatic
#151760 #202392 #2B2FC4 #5356D9 #8588E4

Accessibility & contrast

On white

9.11
#2B2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B2FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2FC4
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2FC4#FFFFFF#000000##FFFFFF
##2B2FC41.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0040C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b2fc4;
/* rgb */ color: rgb(43, 47, 196);
/* oklch */ color: oklch(42.4% 0.222 270.8);
Tailwind
colors: {
  custom: {
    50: '#7f6ad7',
    500: '#2b2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2fc4;
$custom-light: #7f6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2fc4",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 238.431,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.22193,
    "h": 270.8
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#2B2FC4
secondary
#CECB7D
accent
#E341E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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