#2A25AA#2A25AA

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

Color values

HEX#2A25AA
RGBrgb(42, 37, 170)
HSLhsl(242, 64%, 41%)
HSVhsv(242, 78%, 67%)
CMYKcmyk(75.3%, 78.2%, 0%, 33.3%)
CIE-LABlab(25.91, 46.14, -69.12)
CIE-LCHlch(25.91, 83.11, 303.72°)
OKLaboklab(38.13% 0.0108 -0.2)
OKLCHoklch(38.13% 0.2 273.1)
XYZxyz(8.8697, 4.7167, 38.4654)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25AA #A5AA25
analogous
#2562AA #2A25AA #6D25AA
triadic
#2A25AA #AA2A25 #25AA2A
tetradic
#2A25AA #AA2562 #A5AA25 #25AA6D
square
#2A25AA #AA2562 #A5AA25 #25AA6D
split-complementary
#2A25AA #AA6D25 #62AA25
monochromatic
#110F45 #1E1A78 #2A25AA #3E38D4 #6F6BDF

Accessibility & contrast

On white

10.80
#2A25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25AA
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25AA#FFFFFF#000000##FFFFFF
##2A25AA1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.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: #2a25aa;
/* rgb */ color: rgb(42, 37, 170);
/* oklch */ color: oklch(38.1% 0.200 273.1);
Tailwind
colors: {
  custom: {
    50: '#7962c5',
    500: '#2a25aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a25aa;
$custom-light: #7962c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25aa",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 242.256,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38131,
    "c": 0.2003,
    "h": 273.1
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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