#25399B#25399B

#25399B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.161 H 268.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#25399B
RGBrgb(37, 57, 155)
HSLhsl(230, 61%, 38%)
HSVhsv(230, 76%, 61%)
CMYKcmyk(76.1%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.60, 28.14, -55.61)
CIE-LCHlch(28.60, 62.33, 296.84°)
OKLaboklab(39.55% -0.0034 -0.1607)
OKLCHoklch(39.55% 0.161 268.8)
XYZxyz(8.1404, 5.6852, 31.6723)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25399B #9B8725
analogous
#25749B #25399B #4C259B
triadic
#25399B #9B2539 #399B25
tetradic
#25399B #9B2574 #9B8725 #259B4C
square
#25399B #9B2574 #9B8725 #259B4C
split-complementary
#25399B #9B4C25 #749B25
monochromatic
#0D1538 #19276A #25399B #314BCC #6175D9

Accessibility & contrast

On white

9.83
#25399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#25399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25399B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25399B#FFFFFF#000000##FFFFFF
##25399B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25399b;
/* rgb */ color: rgb(37, 57, 155);
/* oklch */ color: oklch(39.5% 0.161 268.8);
Tailwind
colors: {
  custom: {
    50: '#726fb9',
    500: '#25399b',
    950: '#000000',
  },
}
SCSS
$custom: #25399b;
$custom-light: #726fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25399b",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 229.831,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.16077,
    "h": 268.8
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#25399B
secondary
#BFAE5D
accent
#C943E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25399B

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

Preview Lab → · Contrast checker → · Palette generator →

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