#25358B#25358B

#25358B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.144 H 269.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#25358B
RGBrgb(37, 53, 139)
HSLhsl(231, 58%, 35%)
HSVhsv(231, 73%, 55%)
CMYKcmyk(73.4%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.17, 24.74, -49.76)
CIE-LCHlch(26.17, 55.57, 296.44°)
OKLaboklab(37.31% -0.0003 -0.1436)
OKLCHoklch(37.31% 0.144 269.9)
XYZxyz(6.6947, 4.8029, 24.9953)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25358B #8B7B25
analogous
#25688B #25358B #48258B
triadic
#25358B #8B2535 #358B25
tetradic
#25358B #8B2568 #8B7B25 #258B48
square
#25358B #8B2568 #8B7B25 #258B48
split-complementary
#25358B #8B4825 #688B25
monochromatic
#0B102A #18235B #25358B #3247BB #586BD3

Accessibility & contrast

On white

10.71
#25358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#25358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25358B
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25358B#FFFFFF#000000##FFFFFF
##25358B1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25358b;
/* rgb */ color: rgb(37, 53, 139);
/* oklch */ color: oklch(37.3% 0.144 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cae',
    500: '#25358b',
    950: '#000000',
  },
}
SCSS
$custom: #25358b;
$custom-light: #6f6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#25358b",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 230.588,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.14361,
    "h": 269.9
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#25358B
secondary
#B7A855
accent
#C947E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25358B

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

Preview Lab → · Contrast checker → · Palette generator →

#25358B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva