#25186B#25186B

#25186B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.135 H 281.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#25186B
RGBrgb(37, 24, 107)
HSLhsl(249, 63%, 26%)
HSVhsv(249, 78%, 42%)
CMYKcmyk(65.4%, 77.6%, 0%, 58%)
CIE-LABlab(16.04, 31.99, -45.98)
CIE-LCHlch(16.04, 56.01, 304.83°)
OKLaboklab(29.02% 0.0258 -0.1326)
OKLCHoklch(29.02% 0.135 281)
XYZxyz(3.7426, 2.1078, 14.1167)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25186B #5E6B18
analogous
#18346B #25186B #4E186B
triadic
#25186B #6B2518 #186B25
tetradic
#25186B #6B1834 #5E6B18 #186B4E
square
#25186B #6B1834 #5E6B18 #186B4E
split-complementary
#25186B #6B4E18 #346B18
monochromatic
#090619 #140D39 #25186B #36239D #482ECF

Accessibility & contrast

On white

14.77
#25186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#25186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25186B
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25186B#FFFFFF#000000##FFFFFF
##25186B1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25186b;
/* rgb */ color: rgb(37, 24, 107);
/* oklch */ color: oklch(29.0% 0.135 281.0);
Tailwind
colors: {
  custom: {
    50: '#6a5796',
    500: '#25186b',
    950: '#000000',
  },
}
SCSS
$custom: #25186b;
$custom-light: #6a5796;
$custom-dark: #000000;
JSON
{
  "hex": "#25186b",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 249.398,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29023,
    "c": 0.13511,
    "h": 281
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#25186B
secondary
#91A13E
accent
#E641CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #25186B

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

Preview Lab → · Contrast checker → · Palette generator →

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