#25389C#25389C

#25389C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.163 H 269.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#25389C
RGBrgb(37, 56, 156)
HSLhsl(230, 62%, 38%)
HSVhsv(230, 76%, 61%)
CMYKcmyk(76.3%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.44, 29.18, -56.50)
CIE-LCHlch(28.44, 63.59, 297.32°)
OKLaboklab(39.45% -0.0028 -0.1633)
OKLCHoklch(39.45% 0.163 269)
XYZxyz(8.1758, 5.6211, 32.1001)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25389C #9C8925
analogous
#25739C #25389C #4D259C
triadic
#25389C #9C2538 #389C25
tetradic
#25389C #9C2573 #9C8925 #259C4D
square
#25389C #9C2573 #9C8925 #259C4D
split-complementary
#25389C #9C4D25 #739C25
monochromatic
#0E1439 #19266B #25389C #314ACD #6275DA

Accessibility & contrast

On white

9.89
#25389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#25389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25389C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25389C#FFFFFF#000000##FFFFFF
##25389C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25389c;
/* rgb */ color: rgb(37, 56, 156);
/* oklch */ color: oklch(39.5% 0.163 269.0);
Tailwind
colors: {
  custom: {
    50: '#736eba',
    500: '#25389c',
    950: '#000000',
  },
}
SCSS
$custom: #25389c;
$custom-light: #736eba;
$custom-dark: #000000;
JSON
{
  "hex": "#25389c",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 230.42,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.16335,
    "h": 269
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#25389C
secondary
#BFAF5E
accent
#CB43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25389C

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

Preview Lab → · Contrast checker → · Palette generator →

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