#25249A#25249A

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

Color values

HEX#25249A
RGBrgb(37, 36, 154)
HSLhsl(241, 62%, 37%)
HSVhsv(241, 77%, 60%)
CMYKcmyk(76%, 76.6%, 0%, 39.6%)
CIE-LABlab(23.63, 40.98, -63.18)
CIE-LCHlch(23.63, 75.31, 302.97°)
OKLaboklab(35.92% 0.0084 -0.1829)
OKLCHoklch(35.92% 0.183 272.6)
XYZxyz(7.2246, 3.9874, 30.9545)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25249A #999A24
analogous
#245E9A #25249A #60249A
triadic
#25249A #9A2524 #249A25
tetradic
#25249A #9A245E #999A24 #249A60
square
#25249A #9A245E #999A24 #249A60
split-complementary
#25249A #9A6024 #5E9A24
monochromatic
#0D0D37 #191868 #25249A #3130CC #605FDA

Accessibility & contrast

On white

11.68
#25249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25249A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25249A#FFFFFF#000000##FFFFFF
##25249A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25249a;
/* rgb */ color: rgb(37, 36, 154);
/* oklch */ color: oklch(35.9% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#7461b9',
    500: '#25249a',
    950: '#000000',
  },
}
SCSS
$custom: #25249a;
$custom-light: #7461b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25249a",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 240.508,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35917,
    "c": 0.18304,
    "h": 272.6
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#25249A
secondary
#BEBF5B
accent
#E543E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25249A

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

Preview Lab → · Contrast checker → · Palette generator →

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