#25358C#25358C

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

Color values

HEX#25358C
RGBrgb(37, 53, 140)
HSLhsl(231, 58%, 35%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(73.6%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.25, 25.12, -50.24)
CIE-LCHlch(26.25, 56.17, 296.57°)
OKLaboklab(37.4% -0.0003 -0.145)
OKLCHoklch(37.4% 0.145 269.9)
XYZxyz(6.7681, 4.8323, 25.3819)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25358C #8C7C25
analogous
#25688C #25358C #49258C
triadic
#25358C #8C2535 #358C25
tetradic
#25358C #8C2568 #8C7C25 #258C49
square
#25358C #8C2568 #8C7C25 #258C49
split-complementary
#25358C #8C4925 #688C25
monochromatic
#0B102B #18235C #25358C #3247BC #586BD3

Accessibility & contrast

On white

10.68
#25358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25358C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25358C#FFFFFF#000000##FFFFFF
##25358C1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25358c;
/* rgb */ color: rgb(37, 53, 140);
/* oklch */ color: oklch(37.4% 0.145 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cae',
    500: '#25358c',
    950: '#000000',
  },
}
SCSS
$custom: #25358c;
$custom-light: #6f6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#25358c",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 230.68,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.14502,
    "h": 269.9
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#25358C
secondary
#B8A855
accent
#C946E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25358C

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

Preview Lab → · Contrast checker → · Palette generator →

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