#25397A#25397A

#25397A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.113 H 267.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#25397A
RGBrgb(37, 57, 122)
HSLhsl(226, 53%, 31%)
HSVhsv(226, 70%, 48%)
CMYKcmyk(69.7%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.93, 15.39, -39.50)
CIE-LCHlch(25.93, 42.39, 291.29°)
OKLaboklab(36.71% -0.0047 -0.1134)
OKLCHoklch(36.71% 0.113 267.6)
XYZxyz(5.7377, 4.7242, 19.0181)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25397A #7A6625
analogous
#25637A #25397A #3B257A
triadic
#25397A #7A2539 #397A25
tetradic
#25397A #7A2563 #7A6625 #257A3B
square
#25397A #7A2563 #7A6625 #257A3B
split-complementary
#25397A #7A3B25 #637A25
monochromatic
#090D1C #17234B #25397A #334FA9 #506CCA

Accessibility & contrast

On white

10.80
#25397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25397A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25397A#FFFFFF#000000##FFFFFF
##25397A1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25397a;
/* rgb */ color: rgb(37, 57, 122);
/* oklch */ color: oklch(36.7% 0.113 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a6fa1',
    500: '#25397a',
    950: '#000000',
  },
}
SCSS
$custom: #25397a;
$custom-light: #6a6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#25397a",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 225.882,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.11347,
    "h": 267.6
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#25397A
secondary
#AC964E
accent
#BB4BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #25397A

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

Preview Lab → · Contrast checker → · Palette generator →

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