#25299B#25299B

#25299B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.179 H 271.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#25299B
RGBrgb(37, 41, 155)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 61%)
CMYKcmyk(76.1%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.78, 38.40, -61.89)
CIE-LCHlch(24.78, 72.84, 301.81°)
OKLaboklab(36.77% 0.0059 -0.1791)
OKLCHoklch(36.77% 0.179 271.9)
XYZxyz(7.4703, 4.3450, 31.4490)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25299B #9B9725
analogous
#25649B #25299B #5C259B
triadic
#25299B #9B2529 #299B25
tetradic
#25299B #9B2564 #9B9725 #259B5C
square
#25299B #9B2564 #9B9725 #259B5C
split-complementary
#25299B #9B5C25 #649B25
monochromatic
#0D0F38 #191C6A #25299B #3136CC #6165D9

Accessibility & contrast

On white

11.23
#25299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#25299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25299B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25299B#FFFFFF#000000##FFFFFF
##25299B1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25299b;
/* rgb */ color: rgb(37, 41, 155);
/* oklch */ color: oklch(36.8% 0.179 271.9);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#25299b',
    950: '#000000',
  },
}
SCSS
$custom: #25299b;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25299b",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 237.966,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.17924,
    "h": 271.9
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#25299B
secondary
#BFBB5D
accent
#DF43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25299B

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

Preview Lab → · Contrast checker → · Palette generator →

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