#25329D#25329D

#25329D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.172 H 270.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#25329D
RGBrgb(37, 50, 157)
HSLhsl(234, 62%, 38%)
HSVhsv(234, 76%, 62%)
CMYKcmyk(76.4%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.04, 33.49, -59.39)
CIE-LCHlch(27.04, 68.18, 299.42°)
OKLaboklab(38.46% 0.0009 -0.1718)
OKLCHoklch(38.46% 0.172 270.3)
XYZxyz(7.9873, 5.1080, 32.4567)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25329D #9D9025
analogous
#256E9D #25329D #54259D
triadic
#25329D #9D2532 #329D25
tetradic
#25329D #9D256E #9D9025 #259D54
square
#25329D #9D256E #9D9025 #259D54
split-complementary
#25329D #9D5425 #6E9D25
monochromatic
#0E123A #19226B #25329D #3142CE #626FDA

Accessibility & contrast

On white

10.39
#25329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#25329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25329D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25329D#FFFFFF#000000##FFFFFF
##25329D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25329d;
/* rgb */ color: rgb(37, 50, 157);
/* oklch */ color: oklch(38.5% 0.172 270.3);
Tailwind
colors: {
  custom: {
    50: '#736abb',
    500: '#25329d',
    950: '#000000',
  },
}
SCSS
$custom: #25329d;
$custom-light: #736abb;
$custom-dark: #000000;
JSON
{
  "hex": "#25329d",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 233.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.17185,
    "h": 270.3
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#25329D
secondary
#BFB55E
accent
#D343E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25329D

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

Preview Lab → · Contrast checker → · Palette generator →

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