#25186E#25186E

#25186E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.139 H 280.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#25186E
RGBrgb(37, 24, 110)
HSLhsl(249, 64%, 26%)
HSVhsv(249, 78%, 43%)
CMYKcmyk(66.4%, 78.2%, 0%, 56.9%)
CIE-LABlab(16.37, 33.00, -47.40)
CIE-LCHlch(16.37, 57.76, 304.84°)
OKLaboklab(29.35% 0.0251 -0.1368)
OKLCHoklch(29.35% 0.139 280.4)
XYZxyz(3.9032, 2.1721, 14.9624)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25186E #616E18
analogous
#18366E #25186E #50186E
triadic
#25186E #6E2518 #186E25
tetradic
#25186E #6E1836 #616E18 #186E50
square
#25186E #6E1836 #616E18 #186E50
split-complementary
#25186E #6E5018 #366E18
monochromatic
#080519 #140D3C #25186E #3623A0 #472FD2

Accessibility & contrast

On white

14.64
#25186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#25186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25186E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25186E#FFFFFF#000000##FFFFFF
##25186E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25186e;
/* rgb */ color: rgb(37, 24, 110);
/* oklch */ color: oklch(29.3% 0.139 280.4);
Tailwind
colors: {
  custom: {
    50: '#6a5799',
    500: '#25186e',
    950: '#000000',
  },
}
SCSS
$custom: #25186e;
$custom-light: #6a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#25186e",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 249.07,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.13907,
    "h": 280.4
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#25186E
secondary
#94A43E
accent
#E741CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25186E

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

Preview Lab → · Contrast checker → · Palette generator →

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