#25299D#25299D

#25299D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.182 H 271.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#25299D
RGBrgb(37, 41, 157)
HSLhsl(238, 62%, 38%)
HSVhsv(238, 76%, 62%)
CMYKcmyk(76.4%, 73.9%, 0%, 38.4%)
CIE-LABlab(24.99, 39.09, -62.77)
CIE-LCHlch(24.99, 73.95, 301.92°)
OKLaboklab(36.98% 0.0056 -0.1817)
OKLCHoklch(36.98% 0.182 271.8)
XYZxyz(7.6396, 4.4127, 32.3409)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25299D #9D9925
analogous
#25659D #25299D #5D259D
triadic
#25299D #9D2529 #299D25
tetradic
#25299D #9D2565 #9D9925 #259D5D
square
#25299D #9D2565 #9D9925 #259D5D
split-complementary
#25299D #9D5D25 #659D25
monochromatic
#0E0F3A #191C6B #25299D #3136CE #6266DA

Accessibility & contrast

On white

11.15
#25299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#25299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25299D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25299D#FFFFFF#000000##FFFFFF
##25299D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25299d;
/* rgb */ color: rgb(37, 41, 157);
/* oklch */ color: oklch(37.0% 0.182 271.8);
Tailwind
colors: {
  custom: {
    50: '#7464bb',
    500: '#25299d',
    950: '#000000',
  },
}
SCSS
$custom: #25299d;
$custom-light: #7464bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25299d",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 238,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.18177,
    "h": 271.8
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#25299D
secondary
#BFBC5E
accent
#E043E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25299D

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

Preview Lab → · Contrast checker → · Palette generator →

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