#25397B#25397B

#25397B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.115 H 267.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#25397B
RGBrgb(37, 57, 123)
HSLhsl(226, 54%, 31%)
HSVhsv(226, 70%, 48%)
CMYKcmyk(69.9%, 53.7%, 0%, 51.8%)
CIE-LABlab(26.01, 15.78, -40.01)
CIE-LCHlch(26.01, 43.01, 291.53°)
OKLaboklab(36.79% -0.0046 -0.1149)
OKLCHoklch(36.79% 0.115 267.7)
XYZxyz(5.8000, 4.7491, 19.3461)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25397B #7B6725
analogous
#25647B #25397B #3C257B
triadic
#25397B #7B2539 #397B25
tetradic
#25397B #7B2564 #7B6725 #257B3C
square
#25397B #7B2564 #7B6725 #257B3C
split-complementary
#25397B #7B3C25 #647B25
monochromatic
#090D1D #17234C #25397B #334FAA #506CCA

Accessibility & contrast

On white

10.77
#25397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#25397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25397B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25397B#FFFFFF#000000##FFFFFF
##25397B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25397b;
/* rgb */ color: rgb(37, 57, 123);
/* oklch */ color: oklch(36.8% 0.115 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b6fa2',
    500: '#25397b',
    950: '#000000',
  },
}
SCSS
$custom: #25397b;
$custom-light: #6b6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#25397b",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 226.047,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.11497,
    "h": 267.7
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#25397B
secondary
#AD974F
accent
#BB4BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25397B

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

Preview Lab → · Contrast checker → · Palette generator →

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