#25289B#25289B

#25289B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.180 H 272.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#25289B
RGBrgb(37, 40, 155)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 61%)
CMYKcmyk(76.1%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.57, 39.00, -62.25)
CIE-LCHlch(24.57, 73.45, 302.07°)
OKLaboklab(36.61% 0.0064 -0.1802)
OKLCHoklch(36.61% 0.18 272)
XYZxyz(7.4361, 4.2767, 31.4376)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25289B #9B9825
analogous
#25639B #25289B #5D259B
triadic
#25289B #9B2528 #289B25
tetradic
#25289B #9B2563 #9B9825 #259B5D
square
#25289B #9B2563 #9B9825 #259B5D
split-complementary
#25289B #9B5D25 #639B25
monochromatic
#0D0E38 #191B6A #25289B #3135CC #6164D9

Accessibility & contrast

On white

11.32
#25289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25289B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25289B#FFFFFF#000000##FFFFFF
##25289B1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25289b;
/* rgb */ color: rgb(37, 40, 155);
/* oklch */ color: oklch(36.6% 0.180 272.0);
Tailwind
colors: {
  custom: {
    50: '#7463ba',
    500: '#25289b',
    950: '#000000',
  },
}
SCSS
$custom: #25289b;
$custom-light: #7463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25289b",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 238.475,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.18027,
    "h": 272
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#25289B
secondary
#BFBC5D
accent
#E043E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25289B

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

Preview Lab → · Contrast checker → · Palette generator →

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