#2B25A7#2B25A7

#2B25A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.196 H 273.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2B25A7
RGBrgb(43, 37, 167)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 65%)
CMYKcmyk(74.3%, 77.8%, 0%, 34.5%)
CIE-LABlab(25.64, 45.25, -67.76)
CIE-LCHlch(25.64, 81.48, 303.73°)
OKLaboklab(37.86% 0.0127 -0.196)
OKLCHoklch(37.86% 0.196 273.7)
XYZxyz(8.6306, 4.6259, 36.9898)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A7 #A1A725
analogous
#2560A7 #2B25A7 #6C25A7
triadic
#2B25A7 #A72B25 #25A72B
tetradic
#2B25A7 #A72560 #A1A725 #25A76C
square
#2B25A7 #A72560 #A1A725 #25A76C
split-complementary
#2B25A7 #A76C25 #60A725
monochromatic
#110F43 #1E1A75 #2B25A7 #3E37D3 #6E69DE

Accessibility & contrast

On white

10.91
#2B25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A7
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A7#FFFFFF#000000##FFFFFF
##2B25A71.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b25a7;
/* rgb */ color: rgb(43, 37, 167);
/* oklch */ color: oklch(37.9% 0.196 273.7);
Tailwind
colors: {
  custom: {
    50: '#7962c2',
    500: '#2b25a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a7;
$custom-light: #7962c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a7",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 242.769,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37859,
    "c": 0.19644,
    "h": 273.7
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#2B25A7
secondary
#BFC464
accent
#E741DF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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