#25399F#25399F

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

Color values

HEX#25399F
RGBrgb(37, 57, 159)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 77%, 62%)
CMYKcmyk(76.7%, 64.2%, 0%, 37.6%)
CIE-LABlab(28.96, 29.65, -57.46)
CIE-LCHlch(28.96, 64.66, 297.29°)
OKLaboklab(39.92% -0.0035 -0.1662)
OKLCHoklch(39.92% 0.166 268.8)
XYZxyz(8.4819, 5.8218, 33.4709)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25399F #9F8B25
analogous
#25769F #25399F #4E259F
triadic
#25399F #9F2539 #399F25
tetradic
#25399F #9F2576 #9F8B25 #259F4E
square
#25399F #9F2576 #9F8B25 #259F4E
split-complementary
#25399F #9F4E25 #769F25
monochromatic
#0E153C #19276D #25399F #324CCF #6477DB

Accessibility & contrast

On white

9.70
#25399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#25399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25399F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25399F#FFFFFF#000000##FFFFFF
##25399F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25399f;
/* rgb */ color: rgb(37, 57, 159);
/* oklch */ color: oklch(39.9% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#736fbc',
    500: '#25399f',
    950: '#000000',
  },
}
SCSS
$custom: #25399f;
$custom-light: #736fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25399f",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 230.164,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.1662,
    "h": 268.8
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#25399F
secondary
#C0B05F
accent
#CB42E5
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25399F

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

Preview Lab → · Contrast checker → · Palette generator →

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