#25257E#25257E

#25257E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.146 H 275.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#25257E
RGBrgb(37, 37, 126)
HSLhsl(240, 55%, 32%)
HSVhsv(240, 71%, 49%)
CMYKcmyk(70.6%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.91, 30.57, -50.20)
CIE-LCHlch(20.91, 58.78, 301.34°)
OKLaboklab(33.1% 0.0126 -0.145)
OKLCHoklch(33.1% 0.146 275)
XYZxyz(5.1892, 3.2223, 20.0831)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25257E #7E7E25
analogous
#25527E #25257E #52257E
triadic
#25257E #7E2525 #257E25
tetradic
#25257E #7E2552 #7E7E25 #257E52
square
#25257E #7E2552 #7E7E25 #257E52
split-complementary
#25257E #7E5225 #527E25
monochromatic
#09091F #17174F #25257E #3333AD #5151CC

Accessibility & contrast

On white

12.77
#25257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25257E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25257E#FFFFFF#000000##FFFFFF
##25257E1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25257e;
/* rgb */ color: rgb(37, 37, 126);
/* oklch */ color: oklch(33.1% 0.146 275.0);
Tailwind
colors: {
  custom: {
    50: '#6d60a4',
    500: '#25257e',
    950: '#000000',
  },
}
SCSS
$custom: #25257e;
$custom-light: #6d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25257e",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.14556,
    "h": 275
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25257E

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

Preview Lab → · Contrast checker → · Palette generator →

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