#2B25BE#2B25BE

#2B25BE is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.223 H 271.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2B25BE
RGBrgb(43, 37, 190)
HSLhsl(242, 67%, 45%)
HSVhsv(242, 81%, 75%)
CMYKcmyk(77.4%, 80.5%, 0%, 25.5%)
CIE-LABlab(28.26, 52.53, -77.17)
CIE-LCHlch(28.26, 93.35, 304.24°)
OKLaboklab(40.45% 0.0075 -0.2233)
OKLCHoklch(40.45% 0.223 271.9)
XYZxyz(10.9490, 5.5532, 49.2001)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25BE #B8BE25
analogous
#256CBE #2B25BE #7825BE
triadic
#2B25BE #BE2B25 #25BE2B
tetradic
#2B25BE #BE256C #B8BE25 #25BE78
square
#2B25BE #BE256C #B8BE25 #25BE78
split-complementary
#2B25BE #BE7825 #6CBE25
monochromatic
#141158 #1F1B8B #2B25BE #4B45DB #7D79E5

Accessibility & contrast

On white

9.95
#2B25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25BE
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25BE#FFFFFF#000000##FFFFFF
##2B25BE1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003BBB
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b25be;
/* rgb */ color: rgb(43, 37, 190);
/* oklch */ color: oklch(40.4% 0.223 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f64d3',
    500: '#2b25be',
    950: '#000000',
  },
}
SCSS
$custom: #2b25be;
$custom-light: #7f64d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25be",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 242.353,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.22346,
    "h": 271.9
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#2B25BE
secondary
#C9CD72
accent
#EA3EE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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