#25389E#25389E

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

Color values

HEX#25389E
RGBrgb(37, 56, 158)
HSLhsl(231, 62%, 38%)
HSVhsv(231, 77%, 62%)
CMYKcmyk(76.6%, 64.6%, 0%, 38%)
CIE-LABlab(28.61, 29.94, -57.42)
CIE-LCHlch(28.61, 64.76, 297.54°)
OKLaboklab(39.64% -0.0029 -0.166)
OKLCHoklch(39.64% 0.166 269)
XYZxyz(8.3466, 5.6894, 32.9994)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25389E #9E8B25
analogous
#25749E #25389E #4F259E
triadic
#25389E #9E2538 #389E25
tetradic
#25389E #9E2574 #9E8B25 #259E4F
square
#25389E #9E2574 #9E8B25 #259E4F
split-complementary
#25389E #9E4F25 #749E25
monochromatic
#0E153B #19266C #25389E #314ACF #6376DA

Accessibility & contrast

On white

9.82
#25389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#25389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25389E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25389E#FFFFFF#000000##FFFFFF
##25389E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25389e;
/* rgb */ color: rgb(37, 56, 158);
/* oklch */ color: oklch(39.6% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#736ebc',
    500: '#25389e',
    950: '#000000',
  },
}
SCSS
$custom: #25389e;
$custom-light: #736ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#25389e",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 230.579,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.16605,
    "h": 269
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#25389E
secondary
#C0B15F
accent
#CC43E5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25389E

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

Preview Lab → · Contrast checker → · Palette generator →

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