#25237C#25237C

#25237C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.145 H 275.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#25237C
RGBrgb(37, 35, 124)
HSLhsl(241, 56%, 31%)
HSVhsv(241, 72%, 49%)
CMYKcmyk(70.2%, 71.8%, 0%, 51.4%)
CIE-LABlab(20.24, 31.14, -50.03)
CIE-LCHlch(20.24, 58.93, 301.89°)
OKLaboklab(32.55% 0.0144 -0.1445)
OKLCHoklch(32.55% 0.145 275.7)
XYZxyz(5.0009, 3.0502, 19.3901)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25237C #7A7C23
analogous
#234D7C #25237C #51237C
triadic
#25237C #7C2523 #237C25
tetradic
#25237C #7C234D #7A7C23 #237C51
square
#25237C #7C234D #7A7C23 #237C51
split-complementary
#25237C #7C5123 #4D7C23
monochromatic
#09081D #17164C #25237C #3330AC #504DCD

Accessibility & contrast

On white

13.04
#25237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25237C
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25237C#FFFFFF#000000##FFFFFF
##25237C1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25237c;
/* rgb */ color: rgb(37, 35, 124);
/* oklch */ color: oklch(32.6% 0.145 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d5ea3',
    500: '#25237c',
    950: '#000000',
  },
}
SCSS
$custom: #25237c;
$custom-light: #6d5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#25237c",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 241.348,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32553,
    "c": 0.14523,
    "h": 275.7
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#25237C
secondary
#ACAF4C
accent
#DF49DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25237C

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

Preview Lab → · Contrast checker → · Palette generator →

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