#25269E#25269E

#25269E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.186 H 272.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#25269E
RGBrgb(37, 38, 158)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(76.6%, 75.9%, 0%, 38%)
CIE-LABlab(24.47, 41.20, -64.23)
CIE-LCHlch(24.47, 76.31, 302.67°)
OKLaboklab(36.64% 0.0068 -0.1859)
OKLCHoklch(36.64% 0.186 272.1)
XYZxyz(7.6255, 4.2474, 32.7591)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25269E #9E9D25
analogous
#25629E #25269E #60259E
triadic
#25269E #9E2526 #269E25
tetradic
#25269E #9E2562 #9E9D25 #259E60
square
#25269E #9E2562 #9E9D25 #259E60
split-complementary
#25269E #9E6025 #629E25
monochromatic
#0E0E3B #191A6C #25269E #3133CF #6364DA

Accessibility & contrast

On white

11.35
#25269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#25269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25269E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25269E#FFFFFF#000000##FFFFFF
##25269E1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25269e;
/* rgb */ color: rgb(37, 38, 158);
/* oklch */ color: oklch(36.6% 0.186 272.1);
Tailwind
colors: {
  custom: {
    50: '#7562bc',
    500: '#25269e',
    950: '#000000',
  },
}
SCSS
$custom: #25269e;
$custom-light: #7562bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25269e",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 239.504,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.18605,
    "h": 272.1
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#25269E
secondary
#C0BF5F
accent
#E443E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25269E

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

Preview Lab → · Contrast checker → · Palette generator →

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