#2B25AA#2B25AA

#2B25AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.200 H 273.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2B25AA
RGBrgb(43, 37, 170)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(74.7%, 78.2%, 0%, 33.3%)
CIE-LABlab(25.98, 46.22, -69.02)
CIE-LCHlch(25.98, 83.06, 303.81°)
OKLaboklab(38.19% 0.012 -0.1997)
OKLCHoklch(38.19% 0.2 273.4)
XYZxyz(8.9111, 4.7381, 38.4673)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25AA #A4AA25
analogous
#2561AA #2B25AA #6D25AA
triadic
#2B25AA #AA2B25 #25AA2B
tetradic
#2B25AA #AA2561 #A4AA25 #25AA6D
square
#2B25AA #AA2561 #A4AA25 #25AA6D
split-complementary
#2B25AA #AA6D25 #61AA25
monochromatic
#120F45 #1E1A78 #2B25AA #3F38D4 #706BDF

Accessibility & contrast

On white

10.78
#2B25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25AA
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25AA#FFFFFF#000000##FFFFFF
##2B25AA1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b25aa;
/* rgb */ color: rgb(43, 37, 170);
/* oklch */ color: oklch(38.2% 0.200 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a62c5',
    500: '#2b25aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b25aa;
$custom-light: #7a62c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25aa",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 242.707,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38192,
    "c": 0.20004,
    "h": 273.4
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#2B25AA
secondary
#C1C566
accent
#E741E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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