#252566#252566

#252566 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.111 H 277.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#252566
RGBrgb(37, 37, 102)
HSLhsl(240, 47%, 27%)
HSVhsv(240, 64%, 40%)
CMYKcmyk(63.7%, 63.7%, 0%, 60%)
CIE-LABlab(18.69, 21.75, -38.37)
CIE-LCHlch(18.69, 44.11, 299.55°)
OKLaboklab(30.79% 0.0148 -0.1103)
OKLCHoklch(30.79% 0.111 277.6)
XYZxyz(3.8220, 2.6755, 12.8828)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252566 #666625
analogous
#254666 #252566 #462566
triadic
#252566 #662525 #256625
tetradic
#252566 #662546 #666625 #256646
square
#252566 #662546 #666625 #256646
split-complementary
#252566 #664625 #466625
monochromatic
#080816 #151539 #252566 #353593 #4949BD

Accessibility & contrast

On white

13.68
#252566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252566
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252566#FFFFFF#000000##FFFFFF
##2525661.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #252566;
/* rgb */ color: rgb(37, 37, 102);
/* oklch */ color: oklch(30.8% 0.111 277.6);
Tailwind
colors: {
  custom: {
    50: '#675f92',
    500: '#252566',
    950: '#000000',
  },
}
SCSS
$custom: #252566;
$custom-light: #675f92;
$custom-dark: #000000;
JSON
{
  "hex": "#252566",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 240,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30792,
    "c": 0.11129,
    "h": 277.6
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#252566
secondary
#99994E
accent
#D651D6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #252566

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

Preview Lab → · Contrast checker → · Palette generator →

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