#25249F#25249F

#25249F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.189 H 272.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#25249F
RGBrgb(37, 36, 159)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(76.7%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.19, 42.66, -65.32)
CIE-LCHlch(24.19, 78.02, 303.15°)
OKLaboklab(36.47% 0.0074 -0.1891)
OKLCHoklch(36.47% 0.189 272.3)
XYZxyz(7.6497, 4.1575, 33.1935)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25249F #9E9F24
analogous
#24609F #25249F #62249F
triadic
#25249F #9F2524 #249F25
tetradic
#25249F #9F2460 #9E9F24 #249F62
square
#25249F #9F2460 #9E9F24 #249F62
split-complementary
#25249F #9F6224 #609F24
monochromatic
#0E0D3B #19196D #25249F #3130D0 #6362DB

Accessibility & contrast

On white

11.47
#25249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#25249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25249F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25249F#FFFFFF#000000##FFFFFF
##25249F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25249f;
/* rgb */ color: rgb(37, 36, 159);
/* oklch */ color: oklch(36.5% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#25249f',
    950: '#000000',
  },
}
SCSS
$custom: #25249f;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25249f",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 240.488,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36473,
    "c": 0.18922,
    "h": 272.3
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#25249F
secondary
#C0C15E
accent
#E642E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25249F

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

Preview Lab → · Contrast checker → · Palette generator →

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