#25237F#25237F

#25237F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.149 H 275.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#25237F
RGBrgb(37, 35, 127)
HSLhsl(241, 57%, 32%)
HSVhsv(241, 72%, 50%)
CMYKcmyk(70.9%, 72.4%, 0%, 50.2%)
CIE-LABlab(20.55, 32.21, -51.44)
CIE-LCHlch(20.55, 60.69, 302.05°)
OKLaboklab(32.86% 0.0139 -0.1486)
OKLCHoklch(32.86% 0.149 275.3)
XYZxyz(5.1935, 3.1272, 20.4045)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25237F #7D7F23
analogous
#234F7F #25237F #53237F
triadic
#25237F #7F2523 #237F25
tetradic
#25237F #7F234F #7D7F23 #237F53
square
#25237F #7F234F #7D7F23 #237F53
split-complementary
#25237F #7F5323 #4F7F23
monochromatic
#09091F #17164F #25237F #3330AF #514ECE

Accessibility & contrast

On white

12.92
#25237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#25237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25237F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25237F#FFFFFF#000000##FFFFFF
##25237F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25237f;
/* rgb */ color: rgb(37, 35, 127);
/* oklch */ color: oklch(32.9% 0.149 275.3);
Tailwind
colors: {
  custom: {
    50: '#6d5fa5',
    500: '#25237f',
    950: '#000000',
  },
}
SCSS
$custom: #25237f;
$custom-light: #6d5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#25237f",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 241.304,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32863,
    "c": 0.14928,
    "h": 275.3
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#25237F
secondary
#AFB14C
accent
#E048DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25237F

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

Preview Lab → · Contrast checker → · Palette generator →

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