#2A25B0#2A25B0

#2A25B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.207 H 272.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2A25B0
RGBrgb(42, 37, 176)
HSLhsl(242, 65%, 42%)
HSVhsv(242, 79%, 69%)
CMYKcmyk(76.1%, 79%, 0%, 31%)
CIE-LABlab(26.59, 48.06, -71.61)
CIE-LCHlch(26.59, 86.24, 303.87°)
OKLaboklab(38.8% 0.0095 -0.2072)
OKLCHoklch(38.8% 0.207 272.6)
XYZxyz(9.4503, 4.9490, 41.5231)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A25B0 #ABB025
analogous
#2566B0 #2A25B0 #7025B0
triadic
#2A25B0 #B02A25 #25B02A
tetradic
#2A25B0 #B02566 #ABB025 #25B070
square
#2A25B0 #B02566 #ABB025 #25B070
split-complementary
#2A25B0 #B07025 #66B025
monochromatic
#12104B #1E1A7D #2A25B0 #423CD6 #736FE1

Accessibility & contrast

On white

10.55
#2A25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A25B0
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A25B0#FFFFFF#000000##FFFFFF
##2A25B01.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a25b0;
/* rgb */ color: rgb(42, 37, 176);
/* oklch */ color: oklch(38.8% 0.207 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b63c9',
    500: '#2a25b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a25b0;
$custom-light: #7b63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a25b0",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 242.158,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.20744,
    "h": 272.6
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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