#25398E#25398E

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

Color values

HEX#25398E
RGBrgb(37, 57, 142)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 56%)
CMYKcmyk(73.9%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.50, 23.16, -49.45)
CIE-LCHlch(27.50, 54.61, 295.10°)
OKLaboklab(38.38% -0.0034 -0.1426)
OKLCHoklch(38.38% 0.143 268.6)
XYZxyz(7.1069, 5.2718, 26.2290)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25398E #8E7A25
analogous
#256E8E #25398E #45258E
triadic
#25398E #8E2539 #398E25
tetradic
#25398E #8E256E #8E7A25 #258E45
square
#25398E #8E256E #8E7A25 #258E45
split-complementary
#25398E #8E4525 #6E8E25
monochromatic
#0C122D #18265D #25398E #324CBF #5A71D4

Accessibility & contrast

On white

10.22
#25398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#25398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25398E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25398E#FFFFFF#000000##FFFFFF
##25398E1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25398e;
/* rgb */ color: rgb(37, 57, 142);
/* oklch */ color: oklch(38.4% 0.143 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fb0',
    500: '#25398e',
    950: '#000000',
  },
}
SCSS
$custom: #25398e;
$custom-light: #6f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25398e",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 228.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3838,
    "c": 0.14269,
    "h": 268.6
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#25398E
secondary
#B9A656
accent
#C446E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25398E

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

Preview Lab → · Contrast checker → · Palette generator →

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