#25397C#25397C

#25397C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.116 H 267.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#25397C
RGBrgb(37, 57, 124)
HSLhsl(226, 54%, 32%)
HSVhsv(226, 70%, 49%)
CMYKcmyk(70.2%, 54%, 0%, 51.4%)
CIE-LABlab(26.08, 16.17, -40.52)
CIE-LCHlch(26.08, 43.63, 291.76°)
OKLaboklab(36.87% -0.0045 -0.1164)
OKLCHoklch(36.87% 0.116 267.8)
XYZxyz(5.8629, 4.7742, 19.6774)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25397C #7C6825
analogous
#25657C #25397C #3D257C
triadic
#25397C #7C2539 #397C25
tetradic
#25397C #7C2565 #7C6825 #257C3D
square
#25397C #7C2565 #7C6825 #257C3D
split-complementary
#25397C #7C3D25 #657C25
monochromatic
#090E1E #17234D #25397C #334FAB #506DCB

Accessibility & contrast

On white

10.74
#25397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#25397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25397C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25397C#FFFFFF#000000##FFFFFF
##25397C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25397c;
/* rgb */ color: rgb(37, 57, 124);
/* oklch */ color: oklch(36.9% 0.116 267.8);
Tailwind
colors: {
  custom: {
    50: '#6b6fa2',
    500: '#25397c',
    950: '#000000',
  },
}
SCSS
$custom: #25397c;
$custom-light: #6b6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#25397c",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 226.207,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36871,
    "c": 0.11647,
    "h": 267.8
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#25397C
secondary
#AE984F
accent
#BC4ADD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25397C

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

Preview Lab → · Contrast checker → · Palette generator →

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