#252597#252597

#252597 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.178 H 272.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#252597
RGBrgb(37, 37, 151)
HSLhsl(240, 61%, 37%)
HSVhsv(240, 75%, 59%)
CMYKcmyk(75.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.51, 39.39, -61.54)
CIE-LCHlch(23.51, 73.07, 302.62°)
OKLaboklab(35.73% 0.0085 -0.1781)
OKLCHoklch(35.73% 0.178 272.7)
XYZxyz(7.0086, 3.9501, 29.6652)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252597 #979725
analogous
#255E97 #252597 #5E2597
triadic
#252597 #972525 #259725
tetradic
#252597 #97255E #979725 #25975E
square
#252597 #97255E #979725 #25975E
split-complementary
#252597 #975E25 #5E9725
monochromatic
#0D0D35 #191966 #252597 #3131C8 #5F5FD8

Accessibility & contrast

On white

11.73
#252597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252597
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252597#FFFFFF#000000##FFFFFF
##2525971.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252597;
/* rgb */ color: rgb(37, 37, 151);
/* oklch */ color: oklch(35.7% 0.178 272.7);
Tailwind
colors: {
  custom: {
    50: '#7361b7',
    500: '#252597',
    950: '#000000',
  },
}
SCSS
$custom: #252597;
$custom-light: #7361b7;
$custom-dark: #000000;
JSON
{
  "hex": "#252597",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35732,
    "c": 0.17829,
    "h": 272.7
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#252597
secondary
#BDBD5B
accent
#E444E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252597

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

Preview Lab → · Contrast checker → · Palette generator →

#252597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva