#25296C#25296C

#25296C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.115 H 275.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#25296C
RGBrgb(37, 41, 108)
HSLhsl(237, 49%, 28%)
HSVhsv(237, 66%, 42%)
CMYKcmyk(65.7%, 62%, 0%, 57.6%)
CIE-LABlab(20.29, 21.21, -39.69)
CIE-LCHlch(20.29, 45.00, 298.13°)
OKLaboklab(32.13% 0.0106 -0.1141)
OKLCHoklch(32.13% 0.115 275.3)
XYZxyz(4.2618, 3.0616, 14.5508)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25296C #6C6825
analogous
#254C6C #25296C #44256C
triadic
#25296C #6C2529 #296C25
tetradic
#25296C #6C254C #6C6825 #256C44
square
#25296C #6C254C #6C6825 #256C44
split-complementary
#25296C #6C4425 #4C6C25
monochromatic
#080917 #15183E #25296C #353A9A #4A51C1

Accessibility & contrast

On white

13.02
#25296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#25296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25296C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25296C#FFFFFF#000000##FFFFFF
##25296C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25296c;
/* rgb */ color: rgb(37, 41, 108);
/* oklch */ color: oklch(32.1% 0.115 275.3);
Tailwind
colors: {
  custom: {
    50: '#686297',
    500: '#25296c',
    950: '#000000',
  },
}
SCSS
$custom: #25296c;
$custom-light: #686297;
$custom-dark: #000000;
JSON
{
  "hex": "#25296c",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 236.62,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32131,
    "c": 0.11463,
    "h": 275.3
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#25296C
secondary
#9F9A4E
accent
#D14FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #25296C

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

Preview Lab → · Contrast checker → · Palette generator →

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