#252568#252568

#252568 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.0% C 0.114 H 277.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#252568
RGBrgb(37, 37, 104)
HSLhsl(240, 48%, 28%)
HSVhsv(240, 64%, 41%)
CMYKcmyk(64.4%, 64.4%, 0%, 59.2%)
CIE-LABlab(18.87, 22.50, -39.40)
CIE-LCHlch(18.87, 45.37, 299.73°)
OKLaboklab(30.97% 0.0147 -0.1133)
OKLCHoklch(30.97% 0.114 277.4)
XYZxyz(3.9224, 2.7156, 13.4115)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252568 #686825
analogous
#254668 #252568 #462568
triadic
#252568 #682525 #256825
tetradic
#252568 #682546 #686825 #256846
square
#252568 #682546 #686825 #256846
split-complementary
#252568 #684625 #466825
monochromatic
#080817 #15153B #252568 #353595 #4949BE

Accessibility & contrast

On white

13.61
#252568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#252568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252568
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252568#FFFFFF#000000##FFFFFF
##2525681.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #252568;
/* rgb */ color: rgb(37, 37, 104);
/* oklch */ color: oklch(31.0% 0.114 277.4);
Tailwind
colors: {
  custom: {
    50: '#685f94',
    500: '#252568',
    950: '#000000',
  },
}
SCSS
$custom: #252568;
$custom-light: #685f94;
$custom-dark: #000000;
JSON
{
  "hex": "#252568",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30973,
    "c": 0.11427,
    "h": 277.4
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#252568
secondary
#9B9B4E
accent
#D751D7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #252568

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

Preview Lab → · Contrast checker → · Palette generator →

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