#25296F#25296F

#25296F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.119 H 275.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#25296F
RGBrgb(37, 41, 111)
HSLhsl(237, 50%, 29%)
HSVhsv(237, 67%, 44%)
CMYKcmyk(66.7%, 63.1%, 0%, 56.5%)
CIE-LABlab(20.54, 22.34, -41.21)
CIE-LCHlch(20.54, 46.88, 298.47°)
OKLaboklab(32.4% 0.0105 -0.1186)
OKLCHoklch(32.4% 0.119 275.1)
XYZxyz(4.4242, 3.1265, 15.4062)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25296F #6F6B25
analogous
#254E6F #25296F #46256F
triadic
#25296F #6F2529 #296F25
tetradic
#25296F #6F254E #6F6B25 #256F46
square
#25296F #6F254E #6F6B25 #256F46
split-complementary
#25296F #6F4625 #4E6F25
monochromatic
#080817 #161841 #25296F #343A9D #4B52C3

Accessibility & contrast

On white

12.92
#25296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#25296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25296F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25296F#FFFFFF#000000##FFFFFF
##25296F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25296f;
/* rgb */ color: rgb(37, 41, 111);
/* oklch */ color: oklch(32.4% 0.119 275.1);
Tailwind
colors: {
  custom: {
    50: '#696299',
    500: '#25296f',
    950: '#000000',
  },
}
SCSS
$custom: #25296f;
$custom-light: #696299;
$custom-dark: #000000;
JSON
{
  "hex": "#25296f",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 236.757,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32399,
    "c": 0.1191,
    "h": 275.1
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#25296F
secondary
#A29D4E
accent
#D24EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25296F

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

Preview Lab → · Contrast checker → · Palette generator →

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