#25237A#25237A

#25237A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.143 H 275.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#25237A
RGBrgb(37, 35, 122)
HSLhsl(241, 55%, 31%)
HSVhsv(241, 71%, 48%)
CMYKcmyk(69.7%, 71.3%, 0%, 52.2%)
CIE-LABlab(20.04, 30.42, -49.09)
CIE-LCHlch(20.04, 57.75, 301.79°)
OKLaboklab(32.35% 0.0147 -0.1417)
OKLCHoklch(32.35% 0.143 275.9)
XYZxyz(4.8757, 3.0001, 18.7307)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25237A #787A23
analogous
#234C7A #25237A #50237A
triadic
#25237A #7A2523 #237A25
tetradic
#25237A #7A234C #787A23 #237A50
square
#25237A #7A234C #787A23 #237A50
split-complementary
#25237A #7A5023 #4C7A23
monochromatic
#08081B #17154A #25237A #3331AA #4F4CCC

Accessibility & contrast

On white

13.12
#25237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#25237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25237A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25237A#FFFFFF#000000##FFFFFF
##25237A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25237a;
/* rgb */ color: rgb(37, 35, 122);
/* oklch */ color: oklch(32.3% 0.143 275.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ea1',
    500: '#25237a',
    950: '#000000',
  },
}
SCSS
$custom: #25237a;
$custom-light: #6c5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#25237a",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 241.379,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32349,
    "c": 0.14251,
    "h": 275.9
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#25237A
secondary
#AAAD4C
accent
#DF49DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #25237A

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

Preview Lab → · Contrast checker → · Palette generator →

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