#25249B#25249B

#25249B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.184 H 272.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#25249B
RGBrgb(37, 36, 155)
HSLhsl(241, 62%, 37%)
HSVhsv(241, 77%, 61%)
CMYKcmyk(76.1%, 76.8%, 0%, 39.2%)
CIE-LABlab(23.74, 41.32, -63.61)
CIE-LCHlch(23.74, 75.85, 303.01°)
OKLaboklab(36.03% 0.0082 -0.1841)
OKLCHoklch(36.03% 0.184 272.6)
XYZxyz(7.3082, 4.0209, 31.3949)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25249B #9A9B24
analogous
#245F9B #25249B #60249B
triadic
#25249B #9B2524 #249B25
tetradic
#25249B #9B245F #9A9B24 #249B60
square
#25249B #9B245F #9A9B24 #249B60
split-complementary
#25249B #9B6024 #5F9B24
monochromatic
#0D0D38 #191869 #25249B #3130CD #605FDA

Accessibility & contrast

On white

11.64
#25249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#25249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25249B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25249B#FFFFFF#000000##FFFFFF
##25249B1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25249b;
/* rgb */ color: rgb(37, 36, 155);
/* oklch */ color: oklch(36.0% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#25249b',
    950: '#000000',
  },
}
SCSS
$custom: #25249b;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25249b",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 240.504,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36027,
    "c": 0.18428,
    "h": 272.6
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#25249B
secondary
#BEBF5C
accent
#E542E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25249B

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

Preview Lab → · Contrast checker → · Palette generator →

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