#2B25C1#2B25C1

#2B25C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.227 H 271.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B25C1
RGBrgb(43, 37, 193)
HSLhsl(242, 68%, 45%)
HSVhsv(242, 81%, 76%)
CMYKcmyk(77.7%, 80.8%, 0%, 24.3%)
CIE-LABlab(28.61, 53.45, -78.36)
CIE-LCHlch(28.61, 94.85, 304.30°)
OKLaboklab(40.79% 0.0068 -0.2268)
OKLCHoklch(40.79% 0.227 271.7)
XYZxyz(11.2802, 5.6857, 50.9447)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25C1 #BBC125
analogous
#256DC1 #2B25C1 #7925C1
triadic
#2B25C1 #C12B25 #25C12B
tetradic
#2B25C1 #C1256D #BBC125 #25C179
square
#2B25C1 #C1256D #BBC125 #25C179
split-complementary
#2B25C1 #C17925 #6DC125
monochromatic
#14115A #201B8E #2B25C1 #4D47DC #7F7BE6

Accessibility & contrast

On white

9.83
#2B25C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B25C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25C1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25C1#FFFFFF#000000##FFFFFF
##2B25C11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b25c1;
/* rgb */ color: rgb(43, 37, 193);
/* oklch */ color: oklch(40.8% 0.227 271.7);
Tailwind
colors: {
  custom: {
    50: '#7f64d5',
    500: '#2b25c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b25c1;
$custom-light: #7f64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25c1",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 242.308,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.22688,
    "h": 271.7
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#2B25C1
secondary
#CACE74
accent
#EB3DE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B25C1

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

Preview Lab → · Contrast checker → · Palette generator →

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