#2B25A3#2B25A3

#2B25A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.192 H 274.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B25A3
RGBrgb(43, 37, 163)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(73.6%, 77.3%, 0%, 36.1%)
CIE-LABlab(25.20, 43.95, -66.06)
CIE-LCHlch(25.20, 79.35, 303.63°)
OKLaboklab(37.42% 0.0136 -0.1911)
OKLCHoklch(37.42% 0.192 274.1)
XYZxyz(8.2665, 4.4802, 35.0723)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A3 #9DA325
analogous
#255EA3 #2B25A3 #6A25A3
triadic
#2B25A3 #A32B25 #25A32B
tetradic
#2B25A3 #A3255E #9DA325 #25A36A
square
#2B25A3 #A3255E #9DA325 #25A36A
split-complementary
#2B25A3 #A36A25 #5EA325
monochromatic
#110E3F #1E1A71 #2B25A3 #3C34D1 #6C66DC

Accessibility & contrast

On white

11.07
#2B25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A3
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A3#FFFFFF#000000##FFFFFF
##2B25A31.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b25a3;
/* rgb */ color: rgb(43, 37, 163);
/* oklch */ color: oklch(37.4% 0.192 274.1);
Tailwind
colors: {
  custom: {
    50: '#7862c0',
    500: '#2b25a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a3;
$custom-light: #7862c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a3",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 242.857,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.19159,
    "h": 274.1
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#2B25A3
secondary
#BDC262
accent
#E642DE
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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