#25358E#25358E

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

Color values

HEX#25358E
RGBrgb(37, 53, 142)
HSLhsl(231, 59%, 35%)
HSVhsv(231, 74%, 56%)
CMYKcmyk(73.9%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.42, 25.89, -51.20)
CIE-LCHlch(26.42, 57.37, 296.82°)
OKLaboklab(37.58% -0.0003 -0.1478)
OKLCHoklch(37.58% 0.148 269.9)
XYZxyz(6.9169, 4.8918, 26.1656)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25358E #8E7E25
analogous
#256A8E #25358E #49258E
triadic
#25358E #8E2535 #358E25
tetradic
#25358E #8E256A #8E7E25 #258E49
square
#25358E #8E256A #8E7E25 #258E49
split-complementary
#25358E #8E4925 #6A8E25
monochromatic
#0C112D #18235D #25358E #3247BF #5A6CD4

Accessibility & contrast

On white

10.61
#25358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#25358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25358E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25358E#FFFFFF#000000##FFFFFF
##25358E1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25358e;
/* rgb */ color: rgb(37, 53, 142);
/* oklch */ color: oklch(37.6% 0.148 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cb0',
    500: '#25358e',
    950: '#000000',
  },
}
SCSS
$custom: #25358e;
$custom-light: #6f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25358e",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 230.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37584,
    "c": 0.14782,
    "h": 269.9
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#25358E
secondary
#B9AA56
accent
#CA46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #25358E

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

Preview Lab → · Contrast checker → · Palette generator →

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