#25269C#25269C

#25269C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.184 H 272.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#25269C
RGBrgb(37, 38, 156)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 76%, 61%)
CMYKcmyk(76.3%, 75.6%, 0%, 38.8%)
CIE-LABlab(24.25, 40.51, -63.37)
CIE-LCHlch(24.25, 75.22, 302.59°)
OKLaboklab(36.42% 0.0072 -0.1834)
OKLCHoklch(36.42% 0.184 272.2)
XYZxyz(7.4548, 4.1791, 31.8598)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25269C #9C9B25
analogous
#25619C #25269C #60259C
triadic
#25269C #9C2526 #269C25
tetradic
#25269C #9C2561 #9C9B25 #259C60
square
#25269C #9C2561 #9C9B25 #259C60
split-complementary
#25269C #9C6025 #619C25
monochromatic
#0E0E39 #191A6B #25269C #3132CD #6263DA

Accessibility & contrast

On white

11.44
#25269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#25269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25269C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25269C#FFFFFF#000000##FFFFFF
##25269C1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25269c;
/* rgb */ color: rgb(37, 38, 156);
/* oklch */ color: oklch(36.4% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#7462ba',
    500: '#25269c',
    950: '#000000',
  },
}
SCSS
$custom: #25269c;
$custom-light: #7462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25269c",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 239.496,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36424,
    "c": 0.18356,
    "h": 272.2
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#25269C
secondary
#BFBE5E
accent
#E343E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25269C

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

Preview Lab → · Contrast checker → · Palette generator →

#25269C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva