#25255F#25255F

#25255F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.101 H 278.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#25255F
RGBrgb(37, 37, 95)
HSLhsl(240, 44%, 26%)
HSVhsv(240, 61%, 37%)
CMYKcmyk(61.1%, 61.1%, 0%, 62.7%)
CIE-LABlab(18.11, 19.16, -34.71)
CIE-LCHlch(18.11, 39.64, 298.89°)
OKLaboklab(30.18% 0.0149 -0.0995)
OKLCHoklch(30.18% 0.101 278.5)
XYZxyz(3.4894, 2.5424, 11.1311)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25255F #5F5F25
analogous
#25425F #25255F #42255F
triadic
#25255F #5F2525 #255F25
tetradic
#25255F #5F2542 #5F5F25 #255F42
square
#25255F #5F2542 #5F5F25 #255F42
split-complementary
#25255F #5F4225 #425F25
monochromatic
#090916 #141433 #25255F #36368B #4747B7

Accessibility & contrast

On white

13.92
#25255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#25255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25255F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25255F#FFFFFF#000000##FFFFFF
##25255F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#04333E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25255f;
/* rgb */ color: rgb(37, 37, 95);
/* oklch */ color: oklch(30.2% 0.101 278.5);
Tailwind
colors: {
  custom: {
    50: '#665f8d',
    500: '#25255f',
    950: '#000000',
  },
}
SCSS
$custom: #25255f;
$custom-light: #665f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#25255f",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 240,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.10065,
    "h": 278.5
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#25255F
secondary
#92924D
accent
#D454D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25255F

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

Preview Lab → · Contrast checker → · Palette generator →

#25255F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva