#25187C#25187C

#25187C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.157 H 277.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#25187C
RGBrgb(37, 24, 124)
HSLhsl(248, 68%, 29%)
HSVhsv(248, 81%, 49%)
CMYKcmyk(70.2%, 80.6%, 0%, 51.4%)
CIE-LABlab(17.92, 37.64, -53.85)
CIE-LCHlch(17.92, 65.70, 304.95°)
OKLaboklab(30.91% 0.0213 -0.1556)
OKLCHoklch(30.91% 0.157 277.8)
XYZxyz(4.7265, 2.5014, 19.2986)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25187C #6F7C18
analogous
#183D7C #25187C #57187C
triadic
#25187C #7C2518 #187C25
tetradic
#25187C #7C183D #6F7C18 #187C57
square
#25187C #7C183D #6F7C18 #187C57
split-complementary
#25187C #7C5718 #3D7C18
monochromatic
#08051A #160E49 #25187C #3422AF #4B36D8

Accessibility & contrast

On white

14.00
#25187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25187C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25187C#FFFFFF#000000##FFFFFF
##25187C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25187c;
/* rgb */ color: rgb(37, 24, 124);
/* oklch */ color: oklch(30.9% 0.157 277.8);
Tailwind
colors: {
  custom: {
    50: '#6e58a3',
    500: '#25187c',
    950: '#000000',
  },
}
SCSS
$custom: #25187c;
$custom-light: #6e58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25187c",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 247.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30908,
    "c": 0.15704,
    "h": 277.8
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#25187C
secondary
#A2B13F
accent
#EA3DD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25187C

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

Preview Lab → · Contrast checker → · Palette generator →

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