#25289A#25289A

#25289A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.179 H 272.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#25289A
RGBrgb(37, 40, 154)
HSLhsl(238, 61%, 37%)
HSVhsv(238, 76%, 60%)
CMYKcmyk(76%, 74%, 0%, 39.6%)
CIE-LABlab(24.46, 38.65, -61.81)
CIE-LCHlch(24.46, 72.90, 302.02°)
OKLaboklab(36.51% 0.0066 -0.1789)
OKLCHoklch(36.51% 0.179 272.1)
XYZxyz(7.3525, 4.2432, 30.9971)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25289A #9A9725
analogous
#25629A #25289A #5D259A
triadic
#25289A #9A2528 #289A25
tetradic
#25289A #9A2562 #9A9725 #259A5D
square
#25289A #9A2562 #9A9725 #259A5D
split-complementary
#25289A #9A5D25 #629A25
monochromatic
#0D0E37 #191B69 #25289A #3135CB #6064D9

Accessibility & contrast

On white

11.36
#25289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#25289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25289A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25289A#FFFFFF#000000##FFFFFF
##25289A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25289a;
/* rgb */ color: rgb(37, 40, 154);
/* oklch */ color: oklch(36.5% 0.179 272.1);
Tailwind
colors: {
  custom: {
    50: '#7463b9',
    500: '#25289a',
    950: '#000000',
  },
}
SCSS
$custom: #25289a;
$custom-light: #7463b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25289a",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 238.462,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.17901,
    "h": 272.1
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#25289A
secondary
#BEBC5D
accent
#E043E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25289A

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

Preview Lab → · Contrast checker → · Palette generator →

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