#25358D#25358D

#25358D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.146 H 269.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#25358D
RGBrgb(37, 53, 141)
HSLhsl(231, 58%, 35%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(73.8%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.34, 25.51, -50.72)
CIE-LCHlch(26.34, 56.77, 296.70°)
OKLaboklab(37.49% -0.0003 -0.1464)
OKLCHoklch(37.49% 0.146 269.9)
XYZxyz(6.8421, 4.8619, 25.7720)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25358D #8D7D25
analogous
#25698D #25358D #49258D
triadic
#25358D #8D2535 #358D25
tetradic
#25358D #8D2569 #8D7D25 #258D49
square
#25358D #8D2569 #8D7D25 #258D49
split-complementary
#25358D #8D4925 #698D25
monochromatic
#0C112C #18235D #25358D #3247BD #596CD3

Accessibility & contrast

On white

10.65
#25358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#25358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25358D
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25358D#FFFFFF#000000##FFFFFF
##25358D1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25358d;
/* rgb */ color: rgb(37, 53, 141);
/* oklch */ color: oklch(37.5% 0.146 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f6caf',
    500: '#25358d',
    950: '#000000',
  },
}
SCSS
$custom: #25358d;
$custom-light: #6f6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#25358d",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 230.769,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37492,
    "c": 0.14642,
    "h": 269.9
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#25358D
secondary
#B8A956
accent
#CA46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25358D

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

Preview Lab → · Contrast checker → · Palette generator →

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