#25268E#25268E

#25268E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.166 H 273.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#25268E
RGBrgb(37, 38, 142)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 56%)
CMYKcmyk(73.9%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.76, 35.66, -57.20)
CIE-LCHlch(22.76, 67.40, 301.94°)
OKLaboklab(34.92% 0.0096 -0.1655)
OKLCHoklch(34.92% 0.166 273.3)
XYZxyz(6.3369, 3.7319, 25.9723)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25268E #8E8D25
analogous
#255A8E #25268E #59258E
triadic
#25268E #8E2526 #268E25
tetradic
#25268E #8E255A #8E8D25 #258E59
square
#25268E #8E255A #8E8D25 #258E59
split-complementary
#25268E #8E5925 #5A8E25
monochromatic
#0C0C2D #18195D #25268E #3233BF #5A5BD4

Accessibility & contrast

On white

12.02
#25268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25268E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25268E#FFFFFF#000000##FFFFFF
##25268E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25268e;
/* rgb */ color: rgb(37, 38, 142);
/* oklch */ color: oklch(34.9% 0.166 273.3);
Tailwind
colors: {
  custom: {
    50: '#7161b0',
    500: '#25268e',
    950: '#000000',
  },
}
SCSS
$custom: #25268e;
$custom-light: #7161b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25268e",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 239.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34918,
    "c": 0.16573,
    "h": 273.3
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#25268E
secondary
#B9B856
accent
#E046E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #25268E

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

Preview Lab → · Contrast checker → · Palette generator →

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