#25256D#25256D

#25256D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.122 H 276.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#25256D
RGBrgb(37, 37, 109)
HSLhsl(240, 49%, 29%)
HSVhsv(240, 66%, 43%)
CMYKcmyk(66.1%, 66.1%, 0%, 57.3%)
CIE-LABlab(19.31, 24.35, -41.93)
CIE-LCHlch(19.31, 48.49, 300.14°)
OKLaboklab(31.44% 0.0144 -0.1208)
OKLCHoklch(31.44% 0.122 276.8)
XYZxyz(4.1839, 2.8202, 14.7889)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25256D #6D6D25
analogous
#25496D #25256D #49256D
triadic
#25256D #6D2525 #256D25
tetradic
#25256D #6D2549 #6D6D25 #256D49
square
#25256D #6D2549 #6D6D25 #256D49
split-complementary
#25256D #6D4925 #496D25
monochromatic
#080817 #15153F #25256D #35359B #4B4BC2

Accessibility & contrast

On white

13.43
#25256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#25256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25256D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25256D#FFFFFF#000000##FFFFFF
##25256D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25256d;
/* rgb */ color: rgb(37, 37, 109);
/* oklch */ color: oklch(31.4% 0.122 276.8);
Tailwind
colors: {
  custom: {
    50: '#695f98',
    500: '#25256d',
    950: '#000000',
  },
}
SCSS
$custom: #25256d;
$custom-light: #695f98;
$custom-dark: #000000;
JSON
{
  "hex": "#25256d",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31436,
    "c": 0.12162,
    "h": 276.8
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#25256D
secondary
#A0A04E
accent
#D94FD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25256D

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

Preview Lab → · Contrast checker → · Palette generator →

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