#25489E#25489E

#25489E is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.146 H 264.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#25489E
RGBrgb(37, 72, 158)
HSLhsl(223, 62%, 38%)
HSVhsv(223, 77%, 62%)
CMYKcmyk(76.6%, 54.4%, 0%, 38%)
CIE-LABlab(32.91, 19.17, -50.42)
CIE-LCHlch(32.91, 53.94, 290.81°)
OKLaboklab(42.85% -0.0144 -0.1453)
OKLCHoklch(42.85% 0.146 264.4)
XYZxyz(9.2497, 7.4956, 33.3004)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25489E #9E7B25
analogous
#25849E #25489E #3F259E
triadic
#25489E #9E2548 #489E25
tetradic
#25489E #9E2584 #9E7B25 #259E3F
square
#25489E #9E2584 #9E7B25 #259E3F
split-complementary
#25489E #9E3F25 #849E25
monochromatic
#0E1B3B #19316C #25489E #315FCF #6386DA

Accessibility & contrast

On white

8.40
#25489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#25489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25489E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25489E#FFFFFF#000000##FFFFFF
##25489E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #25489e;
/* rgb */ color: rgb(37, 72, 158);
/* oklch */ color: oklch(42.8% 0.146 264.4);
Tailwind
colors: {
  custom: {
    50: '#727abb',
    500: '#25489e',
    950: '#000000',
  },
}
SCSS
$custom: #25489e;
$custom-light: #727abb;
$custom-dark: #000000;
JSON
{
  "hex": "#25489e",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 222.645,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.14597,
    "h": 264.4
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#25489E
secondary
#C0A45F
accent
#B643E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #25489E

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

Preview Lab → · Contrast checker → · Palette generator →

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