#25458B#25458B

#25458B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.123 H 263.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#25458B
RGBrgb(37, 69, 139)
HSLhsl(221, 58%, 35%)
HSVhsv(221, 73%, 55%)
CMYKcmyk(73.4%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.67, 13.76, -42.46)
CIE-LCHlch(30.67, 44.63, 287.96°)
OKLaboklab(40.71% -0.014 -0.1219)
OKLCHoklch(40.71% 0.123 263.5)
XYZxyz(7.5496, 6.5128, 25.2803)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25458B #8B6B25
analogous
#25788B #25458B #38258B
triadic
#25458B #8B2545 #458B25
tetradic
#25458B #8B2578 #8B6B25 #258B38
square
#25458B #8B2578 #8B6B25 #258B38
split-complementary
#25458B #8B3825 #788B25
monochromatic
#0B152A #182D5B #25458B #325DBB #587ED3

Accessibility & contrast

On white

9.12
#25458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#25458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25458B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25458B#FFFFFF#000000##FFFFFF
##25458B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25458b;
/* rgb */ color: rgb(37, 69, 139);
/* oklch */ color: oklch(40.7% 0.123 263.5);
Tailwind
colors: {
  custom: {
    50: '#6e78ad',
    500: '#25458b',
    950: '#000000',
  },
}
SCSS
$custom: #25458b;
$custom-light: #6e78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25458b",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 221.176,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.12268,
    "h": 263.5
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#25458B
secondary
#B79855
accent
#B147E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25458B

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

Preview Lab → · Contrast checker → · Palette generator →

#25458B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva