#25399A#25399A

#25399A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.159 H 268.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#25399A
RGBrgb(37, 57, 154)
HSLhsl(230, 61%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(76%, 63%, 0%, 39.6%)
CIE-LABlab(28.52, 27.76, -55.15)
CIE-LCHlch(28.52, 61.74, 296.72°)
OKLaboklab(39.46% -0.0034 -0.1594)
OKLCHoklch(39.46% 0.159 268.8)
XYZxyz(8.0568, 5.6518, 31.2319)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25399A #9A8625
analogous
#25739A #25399A #4C259A
triadic
#25399A #9A2539 #399A25
tetradic
#25399A #9A2573 #9A8625 #259A4C
square
#25399A #9A2573 #9A8625 #259A4C
split-complementary
#25399A #9A4C25 #739A25
monochromatic
#0D1437 #192769 #25399A #314BCB #6075D9

Accessibility & contrast

On white

9.86
#25399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#25399A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25399A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25399A#FFFFFF#000000##FFFFFF
##25399A1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25399a;
/* rgb */ color: rgb(37, 57, 154);
/* oklch */ color: oklch(39.5% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#726fb9',
    500: '#25399a',
    950: '#000000',
  },
}
SCSS
$custom: #25399a;
$custom-light: #726fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25399a",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 229.744,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.1594,
    "h": 268.8
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#25399A
secondary
#BEAD5D
accent
#C943E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #25399A

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

Preview Lab → · Contrast checker → · Palette generator →

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