#2B0FBB#2B0FBB

#2B0FBB is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 38.2% C 0.233 H 273.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2B0FBB
RGBrgb(43, 15, 187)
HSLhsl(250, 85%, 40%)
HSVhsv(250, 92%, 73%)
CMYKcmyk(77%, 92%, 0%, 26.7%)
CIE-LABlab(25.08, 60.01, -80.67)
CIE-LCHlch(25.08, 100.54, 306.65°)
OKLaboklab(38.17% 0.0127 -0.233)
OKLCHoklch(38.17% 0.233 273.1)
XYZxyz(10.1337, 4.4420, 47.3274)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0FBB #9FBB0F
analogous
#0F49BB #2B0FBB #810FBB
triadic
#2B0FBB #BB2B0F #0FBB2B
tetradic
#2B0FBB #BB0F49 #9FBB0F #0FBB81
square
#2B0FBB #BB0F49 #9FBB0F #0FBB81
split-complementary
#2B0FBB #BB810F #49BB0F
monochromatic
#11064A #1E0A82 #2B0FBB #3D1BED #6D53F1

Accessibility & contrast

On white

11.12
#2B0FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B0FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0FBB
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0FBB#FFFFFF#000000##FFFFFF
##2B0FBB1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043BF
Deuteranopia (green-blind)
#0033B8
Tritanopia (blue-blind)
#004E6E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b0fbb;
/* rgb */ color: rgb(43, 15, 187);
/* oklch */ color: oklch(38.2% 0.233 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ad1',
    500: '#2b0fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2b0fbb;
$custom-light: #7f5ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0fbb",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 187
  },
  "hsl": {
    "h": 249.767,
    "s": 85.149,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.23338,
    "h": 273.1
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#2B0FBB
secondary
#BED352
accent
#FB2CDA
background
#F8F5FD
surface
#F0E9FA
border
#CBC5D3
text
#0C0414
muted
#7D7983

Preview Lab

Preview with #2B0FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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