#25265D#25265D

#25265D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.096 H 278.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#25265D
RGBrgb(37, 38, 93)
HSLhsl(239, 43%, 25%)
HSVhsv(239, 60%, 36%)
CMYKcmyk(60.2%, 59.1%, 0%, 63.5%)
CIE-LABlab(18.23, 17.70, -33.19)
CIE-LCHlch(18.23, 37.61, 298.08°)
OKLaboklab(30.21% 0.0137 -0.095)
OKLCHoklch(30.21% 0.096 278.2)
XYZxyz(3.4312, 2.5696, 10.6690)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25265D #5D5C25
analogous
#25425D #25265D #40255D
triadic
#25265D #5D2526 #265D25
tetradic
#25265D #5D2542 #5D5C25 #255D40
square
#25265D #5D2542 #5D5C25 #255D40
split-complementary
#25265D #5D4025 #425D25
monochromatic
#090916 #141431 #25265D #363889 #484AB5

Accessibility & contrast

On white

13.87
#25265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#25265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25265D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25265D#FFFFFF#000000##FFFFFF
##25265D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032F5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#07333D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25265d;
/* rgb */ color: rgb(37, 38, 93);
/* oklch */ color: oklch(30.2% 0.096 278.2);
Tailwind
colors: {
  custom: {
    50: '#65608b',
    500: '#25265d',
    950: '#000000',
  },
}
SCSS
$custom: #25265d;
$custom-light: #65608b;
$custom-dark: #000000;
JSON
{
  "hex": "#25265d",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 238.929,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30214,
    "c": 0.09603,
    "h": 278.2
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#25265D
secondary
#908F4D
accent
#D155D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25265D

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

Preview Lab → · Contrast checker → · Palette generator →

#25265D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva