#25245E#25245E

#25245E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.101 H 279.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#25245E
RGBrgb(37, 36, 94)
HSLhsl(241, 45%, 25%)
HSVhsv(241, 62%, 37%)
CMYKcmyk(60.6%, 61.7%, 0%, 63.1%)
CIE-LABlab(17.75, 19.49, -34.63)
CIE-LCHlch(17.75, 39.73, 299.37°)
OKLaboklab(29.88% 0.016 -0.0993)
OKLCHoklch(29.88% 0.101 279.2)
XYZxyz(3.4136, 2.4630, 10.8830)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25245E #5D5E24
analogous
#24405E #25245E #42245E
triadic
#25245E #5E2524 #245E25
tetradic
#25245E #5E2440 #5D5E24 #245E42
square
#25245E #5E2440 #5D5E24 #245E42
split-complementary
#25245E #5E4224 #405E24
monochromatic
#090816 #141332 #25245E #36358A #4846B7

Accessibility & contrast

On white

14.07
#25245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#25245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25245E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25245E#FFFFFF#000000##FFFFFF
##25245E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#06323D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25245e;
/* rgb */ color: rgb(37, 36, 94);
/* oklch */ color: oklch(29.9% 0.101 279.2);
Tailwind
colors: {
  custom: {
    50: '#665e8c',
    500: '#25245e',
    950: '#000000',
  },
}
SCSS
$custom: #25245e;
$custom-light: #665e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#25245e",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 241.034,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29883,
    "c": 0.1006,
    "h": 279.2
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#25245E
secondary
#90924C
accent
#D453D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25245E

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

Preview Lab → · Contrast checker → · Palette generator →

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