#25248A#25248A

#25248A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.163 H 274.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#25248A
RGBrgb(37, 36, 138)
HSLhsl(241, 59%, 34%)
HSVhsv(241, 74%, 54%)
CMYKcmyk(73.2%, 73.9%, 0%, 45.9%)
CIE-LABlab(21.91, 35.47, -56.12)
CIE-LCHlch(21.91, 66.39, 302.29°)
OKLaboklab(34.18% 0.0114 -0.1623)
OKLCHoklch(34.18% 0.163 274)
XYZxyz(5.9797, 3.4895, 24.3982)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25248A #898A24
analogous
#24568A #25248A #58248A
triadic
#25248A #8A2524 #248A25
tetradic
#25248A #8A2456 #898A24 #248A58
square
#25248A #8A2456 #898A24 #248A58
split-complementary
#25248A #8A5824 #568A24
monochromatic
#0B0B29 #181759 #25248A #3231BB #5756D3

Accessibility & contrast

On white

12.37
#25248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#25248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25248A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25248A#FFFFFF#000000##FFFFFF
##25248A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25248a;
/* rgb */ color: rgb(37, 36, 138);
/* oklch */ color: oklch(34.2% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#7060ad',
    500: '#25248a',
    950: '#000000',
  },
}
SCSS
$custom: #25248a;
$custom-light: #7060ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25248a",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 240.588,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34179,
    "c": 0.1627,
    "h": 274
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#25248A
secondary
#B6B753
accent
#E246E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25248A

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

Preview Lab → · Contrast checker → · Palette generator →

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