#25257D#25257D

#25257D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.144 H 275.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#25257D
RGBrgb(37, 37, 125)
HSLhsl(240, 54%, 32%)
HSVhsv(240, 70%, 49%)
CMYKcmyk(70.4%, 70.4%, 0%, 51%)
CIE-LABlab(20.82, 30.21, -49.73)
CIE-LCHlch(20.82, 58.19, 301.28°)
OKLaboklab(33% 0.0128 -0.1436)
OKLCHoklch(33% 0.144 275.1)
XYZxyz(5.1250, 3.1967, 19.7450)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25257D #7D7D25
analogous
#25517D #25257D #51257D
triadic
#25257D #7D2525 #257D25
tetradic
#25257D #7D2551 #7D7D25 #257D51
square
#25257D #7D2551 #7D7D25 #257D51
split-complementary
#25257D #7D5125 #517D25
monochromatic
#09091F #17174E #25257D #3333AC #5151CB

Accessibility & contrast

On white

12.81
#25257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#25257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25257D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25257D#FFFFFF#000000##FFFFFF
##25257D1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #25257d;
/* rgb */ color: rgb(37, 37, 125);
/* oklch */ color: oklch(33.0% 0.144 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d60a4',
    500: '#25257d',
    950: '#000000',
  },
}
SCSS
$custom: #25257d;
$custom-light: #6d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25257d",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.1442,
    "h": 275.1
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#25257D
secondary
#AFAF4F
accent
#DE4ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #25257D

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

Preview Lab → · Contrast checker → · Palette generator →

#25257D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva