#25457F#25457F

#25457F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.105 H 261.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#25457F
RGBrgb(37, 69, 127)
HSLhsl(219, 55%, 32%)
HSVhsv(219, 71%, 50%)
CMYKcmyk(70.9%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.87, 9.06, -36.32)
CIE-LCHlch(29.87, 37.43, 284.01°)
OKLaboklab(39.83% -0.016 -0.1038)
OKLCHoklch(39.83% 0.105 261.2)
XYZxyz(6.7205, 6.1812, 20.9135)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25457F #7F5F25
analogous
#25727F #25457F #32257F
triadic
#25457F #7F2545 #457F25
tetradic
#25457F #7F2572 #7F5F25 #257F32
square
#25457F #7F2572 #7F5F25 #257F32
split-complementary
#25457F #7F3225 #727F25
monochromatic
#091220 #172B50 #25457F #335FAE #527DCD

Accessibility & contrast

On white

9.39
#25457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#25457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25457F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25457F#FFFFFF#000000##FFFFFF
##25457F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#19427E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25457f;
/* rgb */ color: rgb(37, 69, 127);
/* oklch */ color: oklch(39.8% 0.105 261.2);
Tailwind
colors: {
  custom: {
    50: '#6b78a4',
    500: '#25457f',
    950: '#000000',
  },
}
SCSS
$custom: #25457f;
$custom-light: #6b78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25457f",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 218.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.10505,
    "h": 261.2
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#25457F
secondary
#B18E4F
accent
#A94ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25457F

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

Preview Lab → · Contrast checker → · Palette generator →

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