#25419C#25419C

#25419C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.152 H 266.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#25419C
RGBrgb(37, 65, 156)
HSLhsl(226, 62%, 38%)
HSVhsv(226, 76%, 61%)
CMYKcmyk(76.3%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.82, 23.13, -52.61)
CIE-LCHlch(30.82, 57.47, 293.73°)
OKLaboklab(41.22% -0.0091 -0.1518)
OKLCHoklch(41.22% 0.152 266.6)
XYZxyz(8.6519, 6.5733, 32.2588)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25419C #9C8025
analogous
#257D9C #25419C #44259C
triadic
#25419C #9C2541 #419C25
tetradic
#25419C #9C257D #9C8025 #259C44
square
#25419C #9C257D #9C8025 #259C44
split-complementary
#25419C #9C4425 #7D9C25
monochromatic
#0E1839 #192C6B #25419C #3156CD #627EDA

Accessibility & contrast

On white

9.07
#25419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#25419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25419C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25419C#FFFFFF#000000##FFFFFF
##25419C1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #25419c;
/* rgb */ color: rgb(37, 65, 156);
/* oklch */ color: oklch(41.2% 0.152 266.6);
Tailwind
colors: {
  custom: {
    50: '#7275ba',
    500: '#25419c',
    950: '#000000',
  },
}
SCSS
$custom: #25419c;
$custom-light: #7275ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25419c",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 225.882,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.15209,
    "h": 266.6
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#25419C
secondary
#BFA85E
accent
#BF43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25419C

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

Preview Lab → · Contrast checker → · Palette generator →

#25419C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva