#25399D#25399D

#25399D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.163 H 268.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#25399D
RGBrgb(37, 57, 157)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 76%, 62%)
CMYKcmyk(76.4%, 63.7%, 0%, 38.4%)
CIE-LABlab(28.78, 28.90, -56.54)
CIE-LCHlch(28.78, 63.50, 297.07°)
OKLaboklab(39.73% -0.0035 -0.1635)
OKLCHoklch(39.73% 0.163 268.8)
XYZxyz(8.3098, 5.7530, 32.5642)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25399D #9D8925
analogous
#25759D #25399D #4D259D
triadic
#25399D #9D2539 #399D25
tetradic
#25399D #9D2575 #9D8925 #259D4D
square
#25399D #9D2575 #9D8925 #259D4D
split-complementary
#25399D #9D4D25 #759D25
monochromatic
#0E153A #19276B #25399D #314BCE #6276DA

Accessibility & contrast

On white

9.76
#25399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#25399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25399D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25399D#FFFFFF#000000##FFFFFF
##25399D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25399d;
/* rgb */ color: rgb(37, 57, 157);
/* oklch */ color: oklch(39.7% 0.163 268.8);
Tailwind
colors: {
  custom: {
    50: '#736fbb',
    500: '#25399d',
    950: '#000000',
  },
}
SCSS
$custom: #25399d;
$custom-light: #736fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#25399d",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 230,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.16349,
    "h": 268.8
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#25399D
secondary
#BFAF5E
accent
#CA43E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25399D

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

Preview Lab → · Contrast checker → · Palette generator →

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