#25389F#25389F

#25389F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.167 H 269.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#25389F
RGBrgb(37, 56, 159)
HSLhsl(231, 62%, 38%)
HSVhsv(231, 77%, 62%)
CMYKcmyk(76.7%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.70, 30.31, -57.88)
CIE-LCHlch(28.70, 65.34, 297.64°)
OKLaboklab(39.73% -0.0029 -0.1674)
OKLCHoklch(39.73% 0.167 269)
XYZxyz(8.4330, 5.7239, 33.4546)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25389F #9F8C25
analogous
#25759F #25389F #4F259F
triadic
#25389F #9F2538 #389F25
tetradic
#25389F #9F2575 #9F8C25 #259F4F
square
#25389F #9F2575 #9F8C25 #259F4F
split-complementary
#25389F #9F4F25 #759F25
monochromatic
#0E153C #19276D #25389F #324ACF #6476DB

Accessibility & contrast

On white

9.79
#25389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#25389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25389F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25389F#FFFFFF#000000##FFFFFF
##25389F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25389f;
/* rgb */ color: rgb(37, 56, 159);
/* oklch */ color: oklch(39.7% 0.167 269.0);
Tailwind
colors: {
  custom: {
    50: '#736ebc',
    500: '#25389f',
    950: '#000000',
  },
}
SCSS
$custom: #25389f;
$custom-light: #736ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#25389f",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 230.656,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.16741,
    "h": 269
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#25389F
secondary
#C0B15F
accent
#CC42E5
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25389F

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

Preview Lab → · Contrast checker → · Palette generator →

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