#2B25AC#2B25AC

#2B25AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.202 H 273.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2B25AC
RGBrgb(43, 37, 172)
HSLhsl(243, 65%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(75%, 78.5%, 0%, 32.5%)
CIE-LABlab(26.20, 46.86, -69.85)
CIE-LCHlch(26.20, 84.11, 303.86°)
OKLaboklab(38.41% 0.0116 -0.2021)
OKLCHoklch(38.41% 0.202 273.3)
XYZxyz(9.1017, 4.8143, 39.4713)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25AC #A6AC25
analogous
#2562AC #2B25AC #6E25AC
triadic
#2B25AC #AC2B25 #25AC2B
tetradic
#2B25AC #AC2562 #A6AC25 #25AC6E
square
#2B25AC #AC2562 #A6AC25 #25AC6E
split-complementary
#2B25AC #AC6E25 #62AC25
monochromatic
#120F47 #1E1A7A #2B25AC #413AD5 #716CDF

Accessibility & contrast

On white

10.70
#2B25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25AC
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25AC#FFFFFF#000000##FFFFFF
##2B25AC1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b25ac;
/* rgb */ color: rgb(43, 37, 172);
/* oklch */ color: oklch(38.4% 0.202 273.3);
Tailwind
colors: {
  custom: {
    50: '#7a62c6',
    500: '#2b25ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b25ac;
$custom-light: #7a62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25ac",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 242.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.20243,
    "h": 273.3
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#2B25AC
secondary
#C1C667
accent
#E840E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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