#25187A#25187A

#25187A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.155 H 278.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#25187A
RGBrgb(37, 24, 122)
HSLhsl(248, 67%, 29%)
HSVhsv(248, 80%, 48%)
CMYKcmyk(69.7%, 80.3%, 0%, 52.2%)
CIE-LABlab(17.70, 36.98, -52.95)
CIE-LCHlch(17.70, 64.59, 304.93°)
OKLaboklab(30.68% 0.0219 -0.153)
OKLCHoklch(30.68% 0.155 278.1)
XYZxyz(4.6013, 2.4513, 18.6393)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25187A #6D7A18
analogous
#183C7A #25187A #56187A
triadic
#25187A #7A2518 #187A25
tetradic
#25187A #7A183C #6D7A18 #187A56
square
#25187A #7A183C #6D7A18 #187A56
split-complementary
#25187A #7A5618 #3C7A18
monochromatic
#08051A #150E47 #25187A #3522AD #4B35D7

Accessibility & contrast

On white

14.09
#25187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#25187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25187A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25187A#FFFFFF#000000##FFFFFF
##25187A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25187a;
/* rgb */ color: rgb(37, 24, 122);
/* oklch */ color: oklch(30.7% 0.155 278.1);
Tailwind
colors: {
  custom: {
    50: '#6d57a2',
    500: '#25187a',
    950: '#000000',
  },
}
SCSS
$custom: #25187a;
$custom-light: #6d57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25187a",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 247.959,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30681,
    "c": 0.15452,
    "h": 278.1
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#25187A
secondary
#A0AF3F
accent
#EA3ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25187A

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

Preview Lab → · Contrast checker → · Palette generator →

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