#25398F#25398F

#25398F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 268.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#25398F
RGBrgb(37, 57, 143)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 56%)
CMYKcmyk(74.1%, 60.1%, 0%, 43.9%)
CIE-LABlab(27.58, 23.55, -49.93)
CIE-LCHlch(27.58, 55.21, 295.25°)
OKLaboklab(38.47% -0.0034 -0.1441)
OKLCHoklch(38.47% 0.144 268.6)
XYZxyz(7.1823, 5.3020, 26.6261)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25398F #8F7B25
analogous
#256E8F #25398F #46258F
triadic
#25398F #8F2539 #398F25
tetradic
#25398F #8F256E #8F7B25 #258F46
square
#25398F #8F256E #8F7B25 #258F46
split-complementary
#25398F #8F4625 #6E8F25
monochromatic
#0C122E #18265E #25398F #324CC0 #5A71D4

Accessibility & contrast

On white

10.19
#25398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#25398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25398F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25398F#FFFFFF#000000##FFFFFF
##25398F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25398f;
/* rgb */ color: rgb(37, 57, 143);
/* oklch */ color: oklch(38.5% 0.144 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fb1',
    500: '#25398f',
    950: '#000000',
  },
}
SCSS
$custom: #25398f;
$custom-light: #6f6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#25398f",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 228.679,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.1441,
    "h": 268.6
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#25398F
secondary
#B9A657
accent
#C546E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #25398F

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

Preview Lab → · Contrast checker → · Palette generator →

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