#25187B#25187B

#25187B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.156 H 278.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#25187B
RGBrgb(37, 24, 123)
HSLhsl(248, 67%, 29%)
HSVhsv(248, 80%, 48%)
CMYKcmyk(69.9%, 80.5%, 0%, 51.8%)
CIE-LABlab(17.81, 37.31, -53.40)
CIE-LCHlch(17.81, 65.15, 304.94°)
OKLaboklab(30.79% 0.0216 -0.1543)
OKLCHoklch(30.79% 0.156 278)
XYZxyz(4.6636, 2.4762, 18.9672)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25187B #6E7B18
analogous
#183D7B #25187B #57187B
triadic
#25187B #7B2518 #187B25
tetradic
#25187B #7B183D #6E7B18 #187B57
square
#25187B #7B183D #6E7B18 #187B57
split-complementary
#25187B #7B5718 #3D7B18
monochromatic
#08051A #160E48 #25187B #3422AE #4B36D8

Accessibility & contrast

On white

14.04
#25187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#25187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25187B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25187B#FFFFFF#000000##FFFFFF
##25187B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25187b;
/* rgb */ color: rgb(37, 24, 123);
/* oklch */ color: oklch(30.8% 0.156 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d58a2',
    500: '#25187b',
    950: '#000000',
  },
}
SCSS
$custom: #25187b;
$custom-light: #6d58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25187b",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 247.879,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30794,
    "c": 0.15578,
    "h": 278
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#25187B
secondary
#A1B03F
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25187B

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

Preview Lab → · Contrast checker → · Palette generator →

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