#25489C#25489C

#25489C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.143 H 264.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#25489C
RGBrgb(37, 72, 156)
HSLhsl(222, 62%, 38%)
HSVhsv(222, 76%, 61%)
CMYKcmyk(76.3%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.76, 18.39, -49.46)
CIE-LCHlch(32.76, 52.76, 290.39°)
OKLaboklab(42.69% -0.0145 -0.1424)
OKLCHoklch(42.69% 0.143 264.2)
XYZxyz(9.0789, 7.4273, 32.4012)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25489C #9C7925
analogous
#25839C #25489C #3D259C
triadic
#25489C #9C2548 #489C25
tetradic
#25489C #9C2583 #9C7925 #259C3D
square
#25489C #9C2583 #9C7925 #259C3D
split-complementary
#25489C #9C3D25 #839C25
monochromatic
#0E1A39 #19316B #25489C #315FCD #6285DA

Accessibility & contrast

On white

8.45
#25489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25489C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25489C#FFFFFF#000000##FFFFFF
##25489C1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A539F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #25489c;
/* rgb */ color: rgb(37, 72, 156);
/* oklch */ color: oklch(42.7% 0.143 264.2);
Tailwind
colors: {
  custom: {
    50: '#717aba',
    500: '#25489c',
    950: '#000000',
  },
}
SCSS
$custom: #25489c;
$custom-light: #717aba;
$custom-dark: #000000;
JSON
{
  "hex": "#25489c",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 222.353,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.14316,
    "h": 264.2
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#25489C
secondary
#BFA25E
accent
#B543E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #25489C

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

Preview Lab → · Contrast checker → · Palette generator →

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