#25397E#25397E

#25397E is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.119 H 267.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#25397E
RGBrgb(37, 57, 126)
HSLhsl(227, 55%, 32%)
HSVhsv(227, 71%, 49%)
CMYKcmyk(70.6%, 54.8%, 0%, 50.6%)
CIE-LABlab(26.23, 16.95, -41.54)
CIE-LCHlch(26.23, 44.86, 292.20°)
OKLaboklab(37.03% -0.0043 -0.1194)
OKLCHoklch(37.03% 0.119 267.9)
XYZxyz(5.9907, 4.8253, 20.3503)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25397E #7E6A25
analogous
#25667E #25397E #3E257E
triadic
#25397E #7E2539 #397E25
tetradic
#25397E #7E2566 #7E6A25 #257E3E
square
#25397E #7E2566 #7E6A25 #257E3E
split-complementary
#25397E #7E3E25 #667E25
monochromatic
#090E1F #17244F #25397E #334EAD #516DCC

Accessibility & contrast

On white

10.69
#25397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#25397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25397E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25397E#FFFFFF#000000##FFFFFF
##25397E1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25397e;
/* rgb */ color: rgb(37, 57, 126);
/* oklch */ color: oklch(37.0% 0.119 267.9);
Tailwind
colors: {
  custom: {
    50: '#6b6fa4',
    500: '#25397e',
    950: '#000000',
  },
}
SCSS
$custom: #25397e;
$custom-light: #6b6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#25397e",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 226.517,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37032,
    "c": 0.11946,
    "h": 267.9
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#25397E
secondary
#B09A4F
accent
#BD4ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25397E

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

Preview Lab → · Contrast checker → · Palette generator →

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