#252567#252567

#252567 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.113 H 277.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#252567
RGBrgb(37, 37, 103)
HSLhsl(240, 47%, 27%)
HSVhsv(240, 64%, 40%)
CMYKcmyk(64.1%, 64.1%, 0%, 59.6%)
CIE-LABlab(18.78, 22.13, -38.88)
CIE-LCHlch(18.78, 44.74, 299.64°)
OKLaboklab(30.88% 0.0148 -0.1118)
OKLCHoklch(30.88% 0.113 277.5)
XYZxyz(3.8719, 2.6954, 13.1456)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252567 #676725
analogous
#254667 #252567 #462567
triadic
#252567 #672525 #256725
tetradic
#252567 #672546 #676725 #256746
square
#252567 #672546 #676725 #256746
split-complementary
#252567 #674625 #466725
monochromatic
#080817 #15153A #252567 #353594 #4949BE

Accessibility & contrast

On white

13.64
#252567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252567
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252567#FFFFFF#000000##FFFFFF
##2525671.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #252567;
/* rgb */ color: rgb(37, 37, 103);
/* oklch */ color: oklch(30.9% 0.113 277.5);
Tailwind
colors: {
  custom: {
    50: '#685f93',
    500: '#252567',
    950: '#000000',
  },
}
SCSS
$custom: #252567;
$custom-light: #685f93;
$custom-dark: #000000;
JSON
{
  "hex": "#252567",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30883,
    "c": 0.11278,
    "h": 277.5
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252567

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

Preview Lab → · Contrast checker → · Palette generator →

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