#2A25AF#2A25AF

#2A25AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.206 H 272.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2A25AF
RGBrgb(42, 37, 175)
HSLhsl(242, 65%, 42%)
HSVhsv(242, 79%, 69%)
CMYKcmyk(76%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.48, 47.74, -71.19)
CIE-LCHlch(26.48, 85.72, 303.85°)
OKLaboklab(38.69% 0.0097 -0.206)
OKLCHoklch(38.69% 0.206 272.7)
XYZxyz(9.3517, 4.9095, 41.0039)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25AF #AAAF25
analogous
#2565AF #2A25AF #6F25AF
triadic
#2A25AF #AF2A25 #25AF2A
tetradic
#2A25AF #AF2565 #AAAF25 #25AF6F
square
#2A25AF #AF2565 #AAAF25 #25AF6F
split-complementary
#2A25AF #AF6F25 #65AF25
monochromatic
#12104A #1E1A7C #2A25AF #413CD6 #726EE0

Accessibility & contrast

On white

10.59
#2A25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25AF
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25AF#FFFFFF#000000##FFFFFF
##2A25AF1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a25af;
/* rgb */ color: rgb(42, 37, 175);
/* oklch */ color: oklch(38.7% 0.206 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2a25af',
    950: '#000000',
  },
}
SCSS
$custom: #2a25af;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25af",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 242.174,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.20626,
    "h": 272.7
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#2A25AF
secondary
#C3C769
accent
#E840E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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