#2B25A6#2B25A6

#2B25A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.195 H 273.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2B25A6
RGBrgb(43, 37, 166)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 65%)
CMYKcmyk(74.1%, 77.7%, 0%, 34.9%)
CIE-LABlab(25.53, 44.92, -67.34)
CIE-LCHlch(25.53, 80.95, 303.71°)
OKLaboklab(37.75% 0.0129 -0.1948)
OKLCHoklch(37.75% 0.195 273.8)
XYZxyz(8.5385, 4.5890, 36.5048)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A6 #A0A625
analogous
#255FA6 #2B25A6 #6C25A6
triadic
#2B25A6 #A62B25 #25A62B
tetradic
#2B25A6 #A6255F #A0A625 #25A66C
square
#2B25A6 #A6255F #A0A625 #25A66C
split-complementary
#2B25A6 #A66C25 #5FA625
monochromatic
#110F42 #1E1A74 #2B25A6 #3D36D2 #6E68DD

Accessibility & contrast

On white

10.95
#2B25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B25A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A6
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A6#FFFFFF#000000##FFFFFF
##2B25A61.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b25a6;
/* rgb */ color: rgb(43, 37, 166);
/* oklch */ color: oklch(37.7% 0.195 273.8);
Tailwind
colors: {
  custom: {
    50: '#7962c2',
    500: '#2b25a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a6;
$custom-light: #7962c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a6",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 242.791,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.19523,
    "h": 273.8
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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