#25237E#25237E

#25237E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.148 H 275.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#25237E
RGBrgb(37, 35, 126)
HSLhsl(241, 57%, 32%)
HSVhsv(241, 72%, 49%)
CMYKcmyk(70.6%, 72.2%, 0%, 50.6%)
CIE-LABlab(20.45, 31.85, -50.97)
CIE-LCHlch(20.45, 60.10, 302.00°)
OKLaboklab(32.76% 0.0141 -0.1473)
OKLCHoklch(32.76% 0.148 275.5)
XYZxyz(5.1286, 3.1013, 20.0629)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25237E #7C7E23
analogous
#234F7E #25237E #53237E
triadic
#25237E #7E2523 #237E25
tetradic
#25237E #7E234F #7C7E23 #237E53
square
#25237E #7E234F #7C7E23 #237E53
split-complementary
#25237E #7E5323 #4F7E23
monochromatic
#09081E #17164E #25237E #3330AE #504ECE

Accessibility & contrast

On white

12.96
#25237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25237E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25237E#FFFFFF#000000##FFFFFF
##25237E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25237e;
/* rgb */ color: rgb(37, 35, 126);
/* oklch */ color: oklch(32.8% 0.148 275.5);
Tailwind
colors: {
  custom: {
    50: '#6d5fa4',
    500: '#25237e',
    950: '#000000',
  },
}
SCSS
$custom: #25237e;
$custom-light: #6d5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#25237e",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 241.319,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32759,
    "c": 0.14793,
    "h": 275.5
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25237E

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

Preview Lab → · Contrast checker → · Palette generator →

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