#25237B#25237B

#25237B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.144 H 275.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#25237B
RGBrgb(37, 35, 123)
HSLhsl(241, 56%, 31%)
HSVhsv(241, 72%, 48%)
CMYKcmyk(69.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(20.14, 30.78, -49.56)
CIE-LCHlch(20.14, 58.34, 301.84°)
OKLaboklab(32.45% 0.0145 -0.1431)
OKLCHoklch(32.45% 0.144 275.8)
XYZxyz(4.9380, 3.0250, 19.0587)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25237B #797B23
analogous
#234D7B #25237B #51237B
triadic
#25237B #7B2523 #237B25
tetradic
#25237B #7B234D #797B23 #237B51
square
#25237B #7B234D #797B23 #237B51
split-complementary
#25237B #7B5123 #4D7B23
monochromatic
#08081C #17154B #25237B #3331AB #4F4CCC

Accessibility & contrast

On white

13.08
#25237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#25237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25237B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25237B#FFFFFF#000000##FFFFFF
##25237B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25237b;
/* rgb */ color: rgb(37, 35, 123);
/* oklch */ color: oklch(32.5% 0.144 275.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ea2',
    500: '#25237b',
    950: '#000000',
  },
}
SCSS
$custom: #25237b;
$custom-light: #6c5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#25237b",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 241.364,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32451,
    "c": 0.14386,
    "h": 275.8
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#25237B
secondary
#ABAE4C
accent
#DF49DC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #25237B

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

Preview Lab → · Contrast checker → · Palette generator →

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