#25188E#25188E

#25188E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.179 H 275.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#25188E
RGBrgb(37, 24, 142)
HSLhsl(247, 71%, 33%)
HSVhsv(247, 83%, 56%)
CMYKcmyk(73.9%, 83.1%, 0%, 44.3%)
CIE-LABlab(20.04, 43.41, -61.70)
CIE-LCHlch(20.04, 75.45, 305.13°)
OKLaboklab(33% 0.0162 -0.1784)
OKLCHoklch(33% 0.179 275.2)
XYZxyz(5.9705, 2.9990, 25.8502)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25188E #818E18
analogous
#18468E #25188E #60188E
triadic
#25188E #8E2518 #188E25
tetradic
#25188E #8E1846 #818E18 #188E60
square
#25188E #8E1846 #818E18 #188E60
split-complementary
#25188E #8E6018 #468E18
monochromatic
#0A0625 #170F5A #25188E #3321C2 #5341DF

Accessibility & contrast

On white

13.13
#25188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#25188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25188E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25188E#FFFFFF#000000##FFFFFF
##25188E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25188e;
/* rgb */ color: rgb(37, 24, 142);
/* oklch */ color: oklch(33.0% 0.179 275.2);
Tailwind
colors: {
  custom: {
    50: '#7259b0',
    500: '#25188e',
    950: '#000000',
  },
}
SCSS
$custom: #25188e;
$custom-light: #7259b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25188e",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 246.61,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32999,
    "c": 0.17914,
    "h": 275.2
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#25188E
secondary
#B2C042
accent
#EE3ADA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25188E

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

Preview Lab → · Contrast checker → · Palette generator →

#25188E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva