#25268B#25268B

#25268B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.162 H 273.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#25268B
RGBrgb(37, 38, 139)
HSLhsl(239, 58%, 35%)
HSVhsv(239, 73%, 55%)
CMYKcmyk(73.4%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.45, 34.60, -55.84)
CIE-LCHlch(22.45, 65.69, 301.78°)
OKLaboklab(34.6% 0.0101 -0.1615)
OKLCHoklch(34.6% 0.162 273.6)
XYZxyz(6.1147, 3.6430, 24.8020)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25268B #8B8A25
analogous
#25598B #25268B #57258B
triadic
#25268B #8B2526 #268B25
tetradic
#25268B #8B2559 #8B8A25 #258B57
square
#25268B #8B2559 #8B8A25 #258B57
split-complementary
#25268B #8B5725 #598B25
monochromatic
#0B0C2A #18195B #25268B #3233BB #5859D3

Accessibility & contrast

On white

12.15
#25268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#25268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25268B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25268B#FFFFFF#000000##FFFFFF
##25268B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25268b;
/* rgb */ color: rgb(37, 38, 139);
/* oklch */ color: oklch(34.6% 0.162 273.6);
Tailwind
colors: {
  custom: {
    50: '#7061ae',
    500: '#25268b',
    950: '#000000',
  },
}
SCSS
$custom: #25268b;
$custom-light: #7061ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25268b",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 239.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34602,
    "c": 0.1618,
    "h": 273.6
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#25268B
secondary
#B7B655
accent
#E047E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25268B

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

Preview Lab → · Contrast checker → · Palette generator →

#25268B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva