#25249E#25249E

#25249E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.188 H 272.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#25249E
RGBrgb(37, 36, 158)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(76.6%, 77.2%, 0%, 38%)
CIE-LABlab(24.07, 42.33, -64.89)
CIE-LCHlch(24.07, 77.48, 303.12°)
OKLaboklab(36.36% 0.0076 -0.1878)
OKLCHoklch(36.36% 0.188 272.3)
XYZxyz(7.5633, 4.1229, 32.7383)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25249E #9D9E24
analogous
#24609E #25249E #62249E
triadic
#25249E #9E2524 #249E25
tetradic
#25249E #9E2460 #9D9E24 #249E62
square
#25249E #9E2460 #9D9E24 #249E62
split-complementary
#25249E #9E6224 #609E24
monochromatic
#0E0D3A #19196C #25249E #312FD0 #6261DB

Accessibility & contrast

On white

11.51
#25249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25249E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25249E#FFFFFF#000000##FFFFFF
##25249E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25249e;
/* rgb */ color: rgb(37, 36, 158);
/* oklch */ color: oklch(36.4% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#7561bc',
    500: '#25249e',
    950: '#000000',
  },
}
SCSS
$custom: #25249e;
$custom-light: #7561bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25249e",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 240.492,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36361,
    "c": 0.18798,
    "h": 272.3
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25249E

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

Preview Lab → · Contrast checker → · Palette generator →

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