#25457D#25457D

#25457D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.102 H 260.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#25457D
RGBrgb(37, 69, 125)
HSLhsl(218, 54%, 32%)
HSVhsv(218, 70%, 49%)
CMYKcmyk(70.4%, 44.8%, 0%, 51%)
CIE-LABlab(29.74, 8.28, -35.27)
CIE-LCHlch(29.74, 36.23, 283.21°)
OKLaboklab(39.69% -0.0164 -0.1008)
OKLCHoklch(39.69% 0.102 260.7)
XYZxyz(6.5914, 6.1296, 20.2338)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25457D #7D5D25
analogous
#25717D #25457D #31257D
triadic
#25457D #7D2545 #457D25
tetradic
#25457D #7D2571 #7D5D25 #257D31
square
#25457D #7D2571 #7D5D25 #257D31
split-complementary
#25457D #7D3125 #717D25
monochromatic
#09111F #172B4E #25457D #335FAC #517DCB

Accessibility & contrast

On white

9.43
#25457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#25457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25457D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25457D#FFFFFF#000000##FFFFFF
##25457D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25457d;
/* rgb */ color: rgb(37, 69, 125);
/* oklch */ color: oklch(39.7% 0.102 260.7);
Tailwind
colors: {
  custom: {
    50: '#6a78a3',
    500: '#25457d',
    950: '#000000',
  },
}
SCSS
$custom: #25457d;
$custom-light: #6a78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25457d",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 218.182,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.10208,
    "h": 260.7
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#25457D
secondary
#AF8C4F
accent
#A84ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25457D

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

Preview Lab → · Contrast checker → · Palette generator →

#25457D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva