#25398D#25398D

#25398D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.141 H 268.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#25398D
RGBrgb(37, 57, 141)
HSLhsl(228, 58%, 35%)
HSVhsv(228, 74%, 55%)
CMYKcmyk(73.8%, 59.6%, 0%, 44.7%)
CIE-LABlab(27.41, 22.78, -48.97)
CIE-LCHlch(27.41, 54.01, 294.95°)
OKLaboklab(38.29% -0.0034 -0.1412)
OKLCHoklch(38.29% 0.141 268.6)
XYZxyz(7.0321, 5.2419, 25.8353)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25398D #8D7925
analogous
#256D8D #25398D #45258D
triadic
#25398D #8D2539 #398D25
tetradic
#25398D #8D256D #8D7925 #258D45
square
#25398D #8D256D #8D7925 #258D45
split-complementary
#25398D #8D4525 #6D8D25
monochromatic
#0C122C #18255D #25398D #324DBD #5971D3

Accessibility & contrast

On white

10.25
#25398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25398D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25398D#FFFFFF#000000##FFFFFF
##25398D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25398d;
/* rgb */ color: rgb(37, 57, 141);
/* oklch */ color: oklch(38.3% 0.141 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6faf',
    500: '#25398d',
    950: '#000000',
  },
}
SCSS
$custom: #25398d;
$custom-light: #6f6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#25398d",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 228.462,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.14127,
    "h": 268.6
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25398D

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

Preview Lab → · Contrast checker → · Palette generator →

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