#25264E#25264E

#25264E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.072 H 279.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#25264E
RGBrgb(37, 38, 78)
HSLhsl(239, 36%, 23%)
HSVhsv(239, 53%, 31%)
CMYKcmyk(52.6%, 51.3%, 0%, 69.4%)
CIE-LABlab(17.13, 12.19, -24.89)
CIE-LCHlch(17.13, 27.71, 296.09°)
OKLaboklab(29.03% 0.0123 -0.0707)
OKLCHoklch(29.03% 0.072 279.9)
XYZxyz(2.8308, 2.3295, 7.5067)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25264E #4E4D25
analogous
#253A4E #25264E #39254E
triadic
#25264E #4E2526 #264E25
tetradic
#25264E #4E253A #4E4D25 #254E39
square
#25264E #4E253A #4E4D25 #254E39
split-complementary
#25264E #4E3925 #3A4E25
monochromatic
#0A0A15 #111224 #25264E #393A78 #4C4EA1

Accessibility & contrast

On white

14.32
#25264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#25264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25264E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25264E#FFFFFF#000000##FFFFFF
##25264E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C4F
Deuteranopia (green-blind)
#12294D
Tritanopia (blue-blind)
#162E36
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25264e;
/* rgb */ color: rgb(37, 38, 78);
/* oklch */ color: oklch(29.0% 0.072 279.9);
Tailwind
colors: {
  custom: {
    50: '#636080',
    500: '#25264e',
    950: '#000000',
  },
}
SCSS
$custom: #25264e;
$custom-light: #636080;
$custom-dark: #000000;
JSON
{
  "hex": "#25264e",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 238.537,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29034,
    "c": 0.07173,
    "h": 279.9
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#25264E
secondary
#81804E
accent
#C95CCC
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #25264E

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

Preview Lab → · Contrast checker → · Palette generator →

#25264E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva