#25268F#25268F

#25268F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.167 H 273.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#25268F
RGBrgb(37, 38, 143)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 56%)
CMYKcmyk(74.1%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.87, 36.01, -57.65)
CIE-LCHlch(22.87, 67.97, 301.99°)
OKLaboklab(35.02% 0.0094 -0.1668)
OKLCHoklch(35.02% 0.167 273.2)
XYZxyz(6.4123, 3.7621, 26.3695)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25268F #8F8E25
analogous
#255B8F #25268F #59258F
triadic
#25268F #8F2526 #268F25
tetradic
#25268F #8F255B #8F8E25 #258F59
square
#25268F #8F255B #8F8E25 #258F59
split-complementary
#25268F #8F5925 #5B8F25
monochromatic
#0C0C2E #18195E #25268F #3233C0 #5A5BD4

Accessibility & contrast

On white

11.98
#25268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#25268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25268F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25268F#FFFFFF#000000##FFFFFF
##25268F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25268f;
/* rgb */ color: rgb(37, 38, 143);
/* oklch */ color: oklch(35.0% 0.167 273.2);
Tailwind
colors: {
  custom: {
    50: '#7161b1',
    500: '#25268f',
    950: '#000000',
  },
}
SCSS
$custom: #25268f;
$custom-light: #7161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#25268f",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 239.434,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.16703,
    "h": 273.2
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#25268F
secondary
#B9B857
accent
#E146E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #25268F

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

Preview Lab → · Contrast checker → · Palette generator →

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