#25358F#25358F

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

Color values

HEX#25358F
RGBrgb(37, 53, 143)
HSLhsl(231, 59%, 35%)
HSVhsv(231, 74%, 56%)
CMYKcmyk(74.1%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.51, 26.27, -51.67)
CIE-LCHlch(26.51, 57.97, 296.95°)
OKLaboklab(37.67% -0.0004 -0.1492)
OKLCHoklch(37.67% 0.149 269.9)
XYZxyz(6.9923, 4.9220, 26.5628)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25358F #8F7F25
analogous
#256A8F #25358F #4A258F
triadic
#25358F #8F2535 #358F25
tetradic
#25358F #8F256A #8F7F25 #258F4A
square
#25358F #8F256A #8F7F25 #258F4A
split-complementary
#25358F #8F4A25 #6A8F25
monochromatic
#0C112E #18235E #25358F #3247C0 #5A6DD4

Accessibility & contrast

On white

10.58
#25358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25358F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25358F#FFFFFF#000000##FFFFFF
##25358F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25358f;
/* rgb */ color: rgb(37, 53, 143);
/* oklch */ color: oklch(37.7% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#706cb1',
    500: '#25358f',
    950: '#000000',
  },
}
SCSS
$custom: #25358f;
$custom-light: #706cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#25358f",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 230.943,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37675,
    "c": 0.14922,
    "h": 269.9
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#25358F
secondary
#B9AA57
accent
#CA46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #25358F

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

Preview Lab → · Contrast checker → · Palette generator →

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