#25489F#25489F

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

Color values

HEX#25489F
RGBrgb(37, 72, 159)
HSLhsl(223, 62%, 38%)
HSVhsv(223, 77%, 62%)
CMYKcmyk(76.7%, 54.7%, 0%, 37.6%)
CIE-LABlab(32.98, 19.56, -50.90)
CIE-LCHlch(32.98, 54.53, 291.02°)
OKLaboklab(42.93% -0.0143 -0.1467)
OKLCHoklch(42.93% 0.147 264.4)
XYZxyz(9.3361, 7.5302, 33.7556)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25489F #9F7C25
analogous
#25859F #25489F #3F259F
triadic
#25489F #9F2548 #489F25
tetradic
#25489F #9F2585 #9F7C25 #259F3F
square
#25489F #9F2585 #9F7C25 #259F3F
split-complementary
#25489F #9F3F25 #859F25
monochromatic
#0E1B3C #19326D #25489F #325FCF #6486DB

Accessibility & contrast

On white

8.38
#25489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#25489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25489F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25489F#FFFFFF#000000##FFFFFF
##25489F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #25489f;
/* rgb */ color: rgb(37, 72, 159);
/* oklch */ color: oklch(42.9% 0.147 264.4);
Tailwind
colors: {
  custom: {
    50: '#727abc',
    500: '#25489f',
    950: '#000000',
  },
}
SCSS
$custom: #25489f;
$custom-light: #727abc;
$custom-dark: #000000;
JSON
{
  "hex": "#25489f",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 222.787,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.14737,
    "h": 264.4
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#25489F
secondary
#C0A55F
accent
#B742E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #25489F

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

Preview Lab → · Contrast checker → · Palette generator →

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