#25267F#25267F

#25267F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.146 H 274.6°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#25267F
RGBrgb(37, 38, 127)
HSLhsl(239, 55%, 32%)
HSVhsv(239, 71%, 50%)
CMYKcmyk(70.9%, 70.1%, 0%, 50.2%)
CIE-LABlab(21.25, 30.29, -50.28)
CIE-LCHlch(21.25, 58.70, 301.06°)
OKLaboklab(33.37% 0.0118 -0.1452)
OKLCHoklch(33.37% 0.146 274.6)
XYZxyz(5.2856, 3.3114, 20.4352)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25267F #7F7E25
analogous
#25537F #25267F #51257F
triadic
#25267F #7F2526 #267F25
tetradic
#25267F #7F2553 #7F7E25 #257F51
square
#25267F #7F2553 #7F7E25 #257F51
split-complementary
#25267F #7F5125 #537F25
monochromatic
#090A20 #171850 #25267F #3334AE #5253CD

Accessibility & contrast

On white

12.63
#25267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#25267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25267F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25267F#FFFFFF#000000##FFFFFF
##25267F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25267f;
/* rgb */ color: rgb(37, 38, 127);
/* oklch */ color: oklch(33.4% 0.146 274.6);
Tailwind
colors: {
  custom: {
    50: '#6d61a5',
    500: '#25267f',
    950: '#000000',
  },
}
SCSS
$custom: #25267f;
$custom-light: #6d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25267f",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 239.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.14573,
    "h": 274.6
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#25267F
secondary
#B1B04F
accent
#DD4ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #25267F

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

Preview Lab → · Contrast checker → · Palette generator →

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