#25329E#25329E

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

Color values

HEX#25329E
RGBrgb(37, 50, 158)
HSLhsl(234, 62%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(76.6%, 68.4%, 0%, 38%)
CIE-LABlab(27.14, 33.85, -59.85)
CIE-LCHlch(27.14, 68.76, 299.50°)
OKLaboklab(38.56% 0.0008 -0.1732)
OKLCHoklch(38.56% 0.173 270.3)
XYZxyz(8.0730, 5.1423, 32.9082)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25329E #9E9125
analogous
#256E9E #25329E #54259E
triadic
#25329E #9E2532 #329E25
tetradic
#25329E #9E256E #9E9125 #259E54
square
#25329E #9E256E #9E9125 #259E54
split-complementary
#25329E #9E5425 #6E9E25
monochromatic
#0E133B #19226C #25329E #3142CF #6370DA

Accessibility & contrast

On white

10.35
#25329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#25329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25329E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25329E#FFFFFF#000000##FFFFFF
##25329E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25329e;
/* rgb */ color: rgb(37, 50, 158);
/* oklch */ color: oklch(38.6% 0.173 270.3);
Tailwind
colors: {
  custom: {
    50: '#746abc',
    500: '#25329e',
    950: '#000000',
  },
}
SCSS
$custom: #25329e;
$custom-light: #746abc;
$custom-dark: #000000;
JSON
{
  "hex": "#25329e",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 233.554,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.17317,
    "h": 270.3
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#25329E
secondary
#C0B55F
accent
#D443E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25329E

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

Preview Lab → · Contrast checker → · Palette generator →

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