#25267E#25267E

#25267E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.144 H 274.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#25267E
RGBrgb(37, 38, 126)
HSLhsl(239, 55%, 32%)
HSVhsv(239, 71%, 49%)
CMYKcmyk(70.6%, 69.8%, 0%, 50.6%)
CIE-LABlab(21.15, 29.92, -49.81)
CIE-LCHlch(21.15, 58.11, 301.00°)
OKLaboklab(33.27% 0.0119 -0.1439)
OKLCHoklch(33.27% 0.144 274.7)
XYZxyz(5.2207, 3.2854, 20.0936)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25267E #7E7D25
analogous
#25537E #25267E #51257E
triadic
#25267E #7E2526 #267E25
tetradic
#25267E #7E2553 #7E7D25 #257E51
square
#25267E #7E2553 #7E7D25 #257E51
split-complementary
#25267E #7E5125 #537E25
monochromatic
#09091F #17184F #25267E #3334AD #5153CC

Accessibility & contrast

On white

12.67
#25267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25267E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25267E#FFFFFF#000000##FFFFFF
##25267E1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25267e;
/* rgb */ color: rgb(37, 38, 126);
/* oklch */ color: oklch(33.3% 0.144 274.7);
Tailwind
colors: {
  custom: {
    50: '#6d61a4',
    500: '#25267e',
    950: '#000000',
  },
}
SCSS
$custom: #25267e;
$custom-light: #6d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25267e",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 239.326,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.14435,
    "h": 274.7
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#25267E
secondary
#B0AF4F
accent
#DC4ADE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #25267E

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

Preview Lab → · Contrast checker → · Palette generator →

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