#25407A#25407A

#25407A is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.104 H 263.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#25407A
RGBrgb(37, 64, 122)
HSLhsl(221, 53%, 31%)
HSVhsv(221, 70%, 48%)
CMYKcmyk(69.7%, 47.5%, 0%, 52.2%)
CIE-LABlab(28.02, 10.53, -36.14)
CIE-LCHlch(28.02, 37.65, 286.25°)
OKLaboklab(38.3% -0.0118 -0.1034)
OKLCHoklch(38.3% 0.104 263.5)
XYZxyz(6.1080, 5.4647, 19.1415)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25407A #7A5F25
analogous
#256A7A #25407A #34257A
triadic
#25407A #7A2540 #407A25
tetradic
#25407A #7A256A #7A5F25 #257A34
square
#25407A #7A256A #7A5F25 #257A34
split-complementary
#25407A #7A3425 #6A7A25
monochromatic
#090F1C #17274B #25407A #3359A9 #5076CA

Accessibility & contrast

On white

10.03
#25407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#25407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25407A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25407A#FFFFFF#000000##FFFFFF
##25407A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#133E79
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #25407a;
/* rgb */ color: rgb(37, 64, 122);
/* oklch */ color: oklch(38.3% 0.104 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a74a1',
    500: '#25407a',
    950: '#000000',
  },
}
SCSS
$custom: #25407a;
$custom-light: #6a74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25407a",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 220.941,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38303,
    "c": 0.10406,
    "h": 263.5
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#25407A
secondary
#AC8F4E
accent
#AF4BDD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #25407A

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

Preview Lab → · Contrast checker → · Palette generator →

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