#25237D#25237D

#25237D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.147 H 275.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#25237D
RGBrgb(37, 35, 125)
HSLhsl(241, 56%, 31%)
HSVhsv(241, 72%, 49%)
CMYKcmyk(70.4%, 72%, 0%, 51%)
CIE-LABlab(20.34, 31.49, -50.50)
CIE-LCHlch(20.34, 59.52, 301.95°)
OKLaboklab(32.66% 0.0142 -0.1459)
OKLCHoklch(32.66% 0.147 275.6)
XYZxyz(5.0644, 3.0756, 19.7248)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25237D #7B7D23
analogous
#234E7D #25237D #52237D
triadic
#25237D #7D2523 #237D25
tetradic
#25237D #7D234E #7B7D23 #237D52
square
#25237D #7D234E #7B7D23 #237D52
split-complementary
#25237D #7D5223 #4E7D23
monochromatic
#09081D #17164D #25237D #3330AD #504DCD

Accessibility & contrast

On white

13.00
#25237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#25237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25237D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25237D#FFFFFF#000000##FFFFFF
##25237D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25237d;
/* rgb */ color: rgb(37, 35, 125);
/* oklch */ color: oklch(32.7% 0.147 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d5fa4',
    500: '#25237d',
    950: '#000000',
  },
}
SCSS
$custom: #25237d;
$custom-light: #6d5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#25237d",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 241.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32656,
    "c": 0.14658,
    "h": 275.6
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#25237D
secondary
#ADAF4C
accent
#E048DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25237D

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

Preview Lab → · Contrast checker → · Palette generator →

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