#25186F#25186F

#25186F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.140 H 280.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#25186F
RGBrgb(37, 24, 111)
HSLhsl(249, 64%, 26%)
HSVhsv(249, 78%, 44%)
CMYKcmyk(66.7%, 78.4%, 0%, 56.5%)
CIE-LABlab(16.47, 33.33, -47.88)
CIE-LCHlch(16.47, 58.34, 304.85°)
OKLaboklab(29.46% 0.0248 -0.1382)
OKLCHoklch(29.46% 0.14 280.2)
XYZxyz(3.9579, 2.1940, 15.2508)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25186F #626F18
analogous
#18376F #25186F #51186F
triadic
#25186F #6F2518 #186F25
tetradic
#25186F #6F1837 #626F18 #186F51
square
#25186F #6F1837 #626F18 #186F51
split-complementary
#25186F #6F5118 #376F18
monochromatic
#080519 #140D3D #25186F #3623A1 #482FD2

Accessibility & contrast

On white

14.60
#25186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#25186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25186F
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25186F#FFFFFF#000000##FFFFFF
##25186F1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25186f;
/* rgb */ color: rgb(37, 24, 111);
/* oklch */ color: oklch(29.5% 0.140 280.2);
Tailwind
colors: {
  custom: {
    50: '#6b5799',
    500: '#25186f',
    950: '#000000',
  },
}
SCSS
$custom: #25186f;
$custom-light: #6b5799;
$custom-dark: #000000;
JSON
{
  "hex": "#25186f",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 248.966,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29457,
    "c": 0.14038,
    "h": 280.2
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#25186F
secondary
#95A53E
accent
#E740CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25186F

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

Preview Lab → · Contrast checker → · Palette generator →

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