#25269F#25269F

#25269F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.187 H 272.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#25269F
RGBrgb(37, 38, 159)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(76.7%, 76.1%, 0%, 37.6%)
CIE-LABlab(24.58, 41.54, -64.66)
CIE-LCHlch(24.58, 76.86, 302.72°)
OKLaboklab(36.75% 0.0066 -0.1872)
OKLCHoklch(36.75% 0.187 272)
XYZxyz(7.7120, 4.2819, 33.2142)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25269F #9F9E25
analogous
#25639F #25269F #61259F
triadic
#25269F #9F2526 #269F25
tetradic
#25269F #9F2563 #9F9E25 #259F61
square
#25269F #9F2563 #9F9E25 #259F61
split-complementary
#25269F #9F6125 #639F25
monochromatic
#0E0E3C #191A6D #25269F #3233CF #6465DB

Accessibility & contrast

On white

11.31
#25269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25269F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25269F#FFFFFF#000000##FFFFFF
##25269F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25269f;
/* rgb */ color: rgb(37, 38, 159);
/* oklch */ color: oklch(36.8% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#7562bd',
    500: '#25269f',
    950: '#000000',
  },
}
SCSS
$custom: #25269f;
$custom-light: #7562bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25269f",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 239.508,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36753,
    "c": 0.1873,
    "h": 272
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#25269F
secondary
#C0C05F
accent
#E442E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25269F

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

Preview Lab → · Contrast checker → · Palette generator →

#25269F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva