#252565#252565

#252565 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.110 H 277.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#252565
RGBrgb(37, 37, 101)
HSLhsl(240, 46%, 27%)
HSVhsv(240, 63%, 40%)
CMYKcmyk(63.4%, 63.4%, 0%, 60.4%)
CIE-LABlab(18.61, 21.38, -37.85)
CIE-LCHlch(18.61, 43.47, 299.46°)
OKLaboklab(30.7% 0.0148 -0.1088)
OKLCHoklch(30.7% 0.11 277.8)
XYZxyz(3.7727, 2.6558, 12.6232)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252565 #656525
analogous
#254565 #252565 #452565
triadic
#252565 #652525 #256525
tetradic
#252565 #652545 #656525 #256545
square
#252565 #652545 #656525 #256545
split-complementary
#252565 #654525 #456525
monochromatic
#080816 #151538 #252565 #353592 #4848BC

Accessibility & contrast

On white

13.71
#252565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252565
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252565#FFFFFF#000000##FFFFFF
##2525651.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252565;
/* rgb */ color: rgb(37, 37, 101);
/* oklch */ color: oklch(30.7% 0.110 277.8);
Tailwind
colors: {
  custom: {
    50: '#675f91',
    500: '#252565',
    950: '#000000',
  },
}
SCSS
$custom: #252565;
$custom-light: #675f91;
$custom-dark: #000000;
JSON
{
  "hex": "#252565",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 240,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30702,
    "c": 0.10978,
    "h": 277.8
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#252565
secondary
#98984E
accent
#D652D6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #252565

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

Preview Lab → · Contrast checker → · Palette generator →

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