#252564#252564

#252564 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.108 H 277.9°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#252564
RGBrgb(37, 37, 100)
HSLhsl(240, 46%, 27%)
HSVhsv(240, 63%, 39%)
CMYKcmyk(63%, 63%, 0%, 60.8%)
CIE-LABlab(18.52, 21.01, -37.33)
CIE-LCHlch(18.52, 42.84, 299.37°)
OKLaboklab(30.61% 0.0149 -0.1073)
OKLCHoklch(30.61% 0.108 277.9)
XYZxyz(3.7240, 2.6363, 12.3667)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252564 #646425
analogous
#254564 #252564 #452564
triadic
#252564 #642525 #256425
tetradic
#252564 #642545 #646425 #256445
square
#252564 #642545 #646425 #256445
split-complementary
#252564 #644525 #456425
monochromatic
#080816 #141437 #252564 #363691 #4848BB

Accessibility & contrast

On white

13.75
#252564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#252564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252564
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252564#FFFFFF#000000##FFFFFF
##2525641.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #252564;
/* rgb */ color: rgb(37, 37, 100);
/* oklch */ color: oklch(30.6% 0.108 277.9);
Tailwind
colors: {
  custom: {
    50: '#675f91',
    500: '#252564',
    950: '#000000',
  },
}
SCSS
$custom: #252564;
$custom-light: #675f91;
$custom-dark: #000000;
JSON
{
  "hex": "#252564",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 45.985,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30613,
    "c": 0.10828,
    "h": 277.9
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#252564
secondary
#97974E
accent
#D652D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040D
muted
#7A797D

Preview Lab

Preview with #252564

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

Preview Lab → · Contrast checker → · Palette generator →

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