#25256A#25256A

#25256A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.117 H 277.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#25256A
RGBrgb(37, 37, 106)
HSLhsl(240, 48%, 28%)
HSVhsv(240, 65%, 42%)
CMYKcmyk(65.1%, 65.1%, 0%, 58.4%)
CIE-LABlab(19.04, 23.24, -40.41)
CIE-LCHlch(19.04, 46.62, 299.90°)
OKLaboklab(31.16% 0.0146 -0.1163)
OKLCHoklch(31.16% 0.117 277.2)
XYZxyz(4.0252, 2.7567, 13.9529)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25256A #6A6A25
analogous
#25476A #25256A #47256A
triadic
#25256A #6A2525 #256A25
tetradic
#25256A #6A2547 #6A6A25 #256A47
square
#25256A #6A2547 #6A6A25 #256A47
split-complementary
#25256A #6A4725 #476A25
monochromatic
#080817 #15153D #25256A #353597 #4A4AC0

Accessibility & contrast

On white

13.54
#25256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#25256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25256A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25256A#FFFFFF#000000##FFFFFF
##25256A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25256a;
/* rgb */ color: rgb(37, 37, 106);
/* oklch */ color: oklch(31.2% 0.117 277.2);
Tailwind
colors: {
  custom: {
    50: '#685f95',
    500: '#25256a',
    950: '#000000',
  },
}
SCSS
$custom: #25256a;
$custom-light: #685f95;
$custom-dark: #000000;
JSON
{
  "hex": "#25256a",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31157,
    "c": 0.11723,
    "h": 277.2
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#25256A
secondary
#9D9D4E
accent
#D850D8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25256A

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

Preview Lab → · Contrast checker → · Palette generator →

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