#25205E#25205E

#25205E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.1% C 0.106 H 281.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#25205E
RGBrgb(37, 32, 94)
HSLhsl(245, 49%, 25%)
HSVhsv(245, 66%, 37%)
CMYKcmyk(60.6%, 66%, 0%, 63.1%)
CIE-LABlab(16.67, 22.28, -36.38)
CIE-LCHlch(16.67, 42.66, 301.48°)
OKLaboklab(29.09% 0.0205 -0.1045)
OKLCHoklch(29.09% 0.106 281.1)
XYZxyz(3.2992, 2.2343, 10.8449)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25205E #595E20
analogous
#203A5E #25205E #44205E
triadic
#25205E #5E2520 #205E25
tetradic
#25205E #5E203A #595E20 #205E44
square
#25205E #5E203A #595E20 #205E44
split-complementary
#25205E #5E4420 #3A5E20
monochromatic
#090817 #131030 #25205E #37308C #493FB9

Accessibility & contrast

On white

14.51
#25205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#25205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25205E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25205E#FFFFFF#000000##FFFFFF
##25205E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#072F3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25205e;
/* rgb */ color: rgb(37, 32, 94);
/* oklch */ color: oklch(29.1% 0.106 281.1);
Tailwind
colors: {
  custom: {
    50: '#665b8c',
    500: '#25205e',
    950: '#000000',
  },
}
SCSS
$custom: #25205e;
$custom-light: #665b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#25205e",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 244.839,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29088,
    "c": 0.10649,
    "h": 281.1
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#25205E
secondary
#8C9247
accent
#D94FCE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25205E

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

Preview Lab → · Contrast checker → · Palette generator →

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