#25489D#25489D

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

Color values

HEX#25489D
RGBrgb(37, 72, 157)
HSLhsl(223, 62%, 38%)
HSVhsv(223, 76%, 62%)
CMYKcmyk(76.4%, 54.1%, 0%, 38.4%)
CIE-LABlab(32.83, 18.78, -49.94)
CIE-LCHlch(32.83, 53.35, 290.61°)
OKLaboklab(42.77% -0.0144 -0.1438)
OKLCHoklch(42.77% 0.145 264.3)
XYZxyz(9.1640, 7.4613, 32.8490)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25489D #9D7A25
analogous
#25849D #25489D #3E259D
triadic
#25489D #9D2548 #489D25
tetradic
#25489D #9D2584 #9D7A25 #259D3E
square
#25489D #9D2584 #9D7A25 #259D3E
split-complementary
#25489D #9D3E25 #849D25
monochromatic
#0E1B3A #19316B #25489D #315FCE #6285DA

Accessibility & contrast

On white

8.43
#25489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#25489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25489D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25489D#FFFFFF#000000##FFFFFF
##25489D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0653A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #25489d;
/* rgb */ color: rgb(37, 72, 157);
/* oklch */ color: oklch(42.8% 0.145 264.3);
Tailwind
colors: {
  custom: {
    50: '#727abb',
    500: '#25489d',
    950: '#000000',
  },
}
SCSS
$custom: #25489d;
$custom-light: #727abb;
$custom-dark: #000000;
JSON
{
  "hex": "#25489d",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 222.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.14456,
    "h": 264.3
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25489D

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

Preview Lab → · Contrast checker → · Palette generator →

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