#25267D#25267D

#25267D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.143 H 274.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#25267D
RGBrgb(37, 38, 125)
HSLhsl(239, 54%, 32%)
HSVhsv(239, 70%, 49%)
CMYKcmyk(70.4%, 69.6%, 0%, 51%)
CIE-LABlab(21.06, 29.56, -49.34)
CIE-LCHlch(21.06, 57.51, 300.93°)
OKLaboklab(33.17% 0.012 -0.1425)
OKLCHoklch(33.17% 0.143 274.8)
XYZxyz(5.1565, 3.2597, 19.7555)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25267D #7D7C25
analogous
#25527D #25267D #50257D
triadic
#25267D #7D2526 #267D25
tetradic
#25267D #7D2552 #7D7C25 #257D50
square
#25267D #7D2552 #7D7C25 #257D50
split-complementary
#25267D #7D5025 #527D25
monochromatic
#09091F #17184E #25267D #3334AC #5152CB

Accessibility & contrast

On white

12.71
#25267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#25267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25267D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25267D#FFFFFF#000000##FFFFFF
##25267D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25267d;
/* rgb */ color: rgb(37, 38, 125);
/* oklch */ color: oklch(33.2% 0.143 274.8);
Tailwind
colors: {
  custom: {
    50: '#6d61a4',
    500: '#25267d',
    950: '#000000',
  },
}
SCSS
$custom: #25267d;
$custom-light: #6d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25267d",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 239.318,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33169,
    "c": 0.14298,
    "h": 274.8
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25267D

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

Preview Lab → · Contrast checker → · Palette generator →

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