#25299E#25299E

#25299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.183 H 271.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#25299E
RGBrgb(37, 41, 158)
HSLhsl(238, 62%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(76.6%, 74.1%, 0%, 38%)
CIE-LABlab(25.10, 39.44, -63.20)
CIE-LCHlch(25.10, 74.50, 301.97°)
OKLaboklab(37.09% 0.0054 -0.1829)
OKLCHoklch(37.09% 0.183 271.7)
XYZxyz(7.7254, 4.4470, 32.7923)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25299E #9E9A25
analogous
#25659E #25299E #5E259E
triadic
#25299E #9E2529 #299E25
tetradic
#25299E #9E2565 #9E9A25 #259E5E
square
#25299E #9E2565 #9E9A25 #259E5E
split-complementary
#25299E #9E5E25 #659E25
monochromatic
#0E0F3B #191C6C #25299E #3137CF #6367DA

Accessibility & contrast

On white

11.11
#25299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#25299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25299E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25299E#FFFFFF#000000##FFFFFF
##25299E1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25299e;
/* rgb */ color: rgb(37, 41, 158);
/* oklch */ color: oklch(37.1% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#7464bc',
    500: '#25299e',
    950: '#000000',
  },
}
SCSS
$custom: #25299e;
$custom-light: #7464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25299e",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 238.017,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37087,
    "c": 0.18303,
    "h": 271.7
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25299E

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

Preview Lab → · Contrast checker → · Palette generator →

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