#25419A#25419A

#25419A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.149 H 266.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#25419A
RGBrgb(37, 65, 154)
HSLhsl(226, 61%, 37%)
HSVhsv(226, 76%, 60%)
CMYKcmyk(76%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.66, 22.36, -51.66)
CIE-LCHlch(30.66, 56.29, 293.40°)
OKLaboklab(41.05% -0.0092 -0.149)
OKLCHoklch(41.05% 0.149 266.5)
XYZxyz(8.4839, 6.5061, 31.3743)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25419A #9A7E25
analogous
#257C9A #25419A #43259A
triadic
#25419A #9A2541 #419A25
tetradic
#25419A #9A257C #9A7E25 #259A43
square
#25419A #9A257C #9A7E25 #259A43
split-complementary
#25419A #9A4325 #7C9A25
monochromatic
#0D1737 #192C69 #25419A #3156CB #607DD9

Accessibility & contrast

On white

9.12
#25419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#25419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25419A
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25419A#FFFFFF#000000##FFFFFF
##25419A1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25419a;
/* rgb */ color: rgb(37, 65, 154);
/* oklch */ color: oklch(41.0% 0.149 266.5);
Tailwind
colors: {
  custom: {
    50: '#7175b8',
    500: '#25419a',
    950: '#000000',
  },
}
SCSS
$custom: #25419a;
$custom-light: #7175b8;
$custom-dark: #000000;
JSON
{
  "hex": "#25419a",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 225.641,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.1493,
    "h": 266.5
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#25419A
secondary
#BEA75D
accent
#BE43E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #25419A

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

Preview Lab → · Contrast checker → · Palette generator →

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