#25359C#25359C

#25359C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.167 H 269.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#25359C
RGBrgb(37, 53, 156)
HSLhsl(232, 62%, 38%)
HSVhsv(232, 76%, 61%)
CMYKcmyk(76.3%, 66%, 0%, 38.8%)
CIE-LABlab(27.68, 31.17, -57.74)
CIE-LCHlch(27.68, 65.61, 298.36°)
OKLaboklab(38.9% -0.0009 -0.167)
OKLCHoklch(38.9% 0.167 269.7)
XYZxyz(8.0347, 5.3390, 32.0531)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25359C #9C8C25
analogous
#25709C #25359C #51259C
triadic
#25359C #9C2535 #359C25
tetradic
#25359C #9C2570 #9C8C25 #259C51
square
#25359C #9C2570 #9C8C25 #259C51
split-complementary
#25359C #9C5125 #709C25
monochromatic
#0E1339 #19246B #25359C #3146CD #6272DA

Accessibility & contrast

On white

10.15
#25359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#25359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25359C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25359C#FFFFFF#000000##FFFFFF
##25359C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #25359c;
/* rgb */ color: rgb(37, 53, 156);
/* oklch */ color: oklch(38.9% 0.167 269.7);
Tailwind
colors: {
  custom: {
    50: '#736cba',
    500: '#25359c',
    950: '#000000',
  },
}
SCSS
$custom: #25359c;
$custom-light: #736cba;
$custom-dark: #000000;
JSON
{
  "hex": "#25359c",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 231.933,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.16698,
    "h": 269.7
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#25359C
secondary
#BFB25E
accent
#CF43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25359C

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

Preview Lab → · Contrast checker → · Palette generator →

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