#25188F#25188F

#25188F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.180 H 275.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#25188F
RGBrgb(37, 24, 143)
HSLhsl(247, 71%, 33%)
HSVhsv(247, 83%, 56%)
CMYKcmyk(74.1%, 83.2%, 0%, 43.9%)
CIE-LABlab(20.16, 43.73, -62.13)
CIE-LCHlch(20.16, 75.97, 305.14°)
OKLaboklab(33.12% 0.0159 -0.1796)
OKLCHoklch(33.12% 0.18 275.1)
XYZxyz(6.0459, 3.0292, 26.2473)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25188F #828F18
analogous
#18468F #25188F #61188F
triadic
#25188F #8F2518 #188F25
tetradic
#25188F #8F1846 #828F18 #188F61
square
#25188F #8F1846 #828F18 #188F61
split-complementary
#25188F #8F6118 #468F18
monochromatic
#0A0626 #170F5B #25188F #3321C3 #5342DF

Accessibility & contrast

On white

13.08
#25188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#25188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25188F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25188F#FFFFFF#000000##FFFFFF
##25188F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25188f;
/* rgb */ color: rgb(37, 24, 143);
/* oklch */ color: oklch(33.1% 0.180 275.1);
Tailwind
colors: {
  custom: {
    50: '#7259b1',
    500: '#25188f',
    950: '#000000',
  },
}
SCSS
$custom: #25188f;
$custom-light: #7259b1;
$custom-dark: #000000;
JSON
{
  "hex": "#25188f",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 246.555,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.18033,
    "h": 275.1
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#25188F
secondary
#B2C043
accent
#EE3ADA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25188F

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

Preview Lab → · Contrast checker → · Palette generator →

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