#25299A#25299A

#25299A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.178 H 272.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#25299A
RGBrgb(37, 41, 154)
HSLhsl(238, 61%, 37%)
HSVhsv(238, 76%, 60%)
CMYKcmyk(76%, 73.4%, 0%, 39.6%)
CIE-LABlab(24.68, 38.05, -61.45)
CIE-LCHlch(24.68, 72.28, 301.76°)
OKLaboklab(36.66% 0.0061 -0.1779)
OKLCHoklch(36.66% 0.178 272)
XYZxyz(7.3867, 4.3115, 31.0085)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25299A #9A9625
analogous
#25639A #25299A #5C259A
triadic
#25299A #9A2529 #299A25
tetradic
#25299A #9A2563 #9A9625 #259A5C
square
#25299A #9A2563 #9A9625 #259A5C
split-complementary
#25299A #9A5C25 #639A25
monochromatic
#0D0F37 #191C69 #25299A #3136CB #6065D9

Accessibility & contrast

On white

11.28
#25299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25299A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25299A#FFFFFF#000000##FFFFFF
##25299A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25299a;
/* rgb */ color: rgb(37, 41, 154);
/* oklch */ color: oklch(36.7% 0.178 272.0);
Tailwind
colors: {
  custom: {
    50: '#7364b9',
    500: '#25299a',
    950: '#000000',
  },
}
SCSS
$custom: #25299a;
$custom-light: #7364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25299a",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 237.949,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.17796,
    "h": 272
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#25299A
secondary
#BEBB5D
accent
#DF43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #25299A

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

Preview Lab → · Contrast checker → · Palette generator →

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