#25299F#25299F

#25299F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.184 H 271.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#25299F
RGBrgb(37, 41, 159)
HSLhsl(238, 62%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(76.7%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.20, 39.79, -63.64)
CIE-LCHlch(25.20, 75.05, 302.02°)
OKLaboklab(37.2% 0.0053 -0.1842)
OKLCHoklch(37.2% 0.184 271.6)
XYZxyz(7.8118, 4.4816, 33.2475)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25299F #9F9B25
analogous
#25669F #25299F #5E259F
triadic
#25299F #9F2529 #299F25
tetradic
#25299F #9F2566 #9F9B25 #259F5E
square
#25299F #9F2566 #9F9B25 #259F5E
split-complementary
#25299F #9F5E25 #669F25
monochromatic
#0E0F3C #191C6D #25299F #3237CF #6467DB

Accessibility & contrast

On white

11.07
#25299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#25299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25299F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25299F#FFFFFF#000000##FFFFFF
##25299F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25299f;
/* rgb */ color: rgb(37, 41, 159);
/* oklch */ color: oklch(37.2% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#7564bd',
    500: '#25299f',
    950: '#000000',
  },
}
SCSS
$custom: #25299f;
$custom-light: #7564bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25299f",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 238.033,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.1843,
    "h": 271.6
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#25299F
secondary
#C0BD5F
accent
#E042E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25299F

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

Preview Lab → · Contrast checker → · Palette generator →

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