#25307C#25307C

#25307C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.129 H 271.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#25307C
RGBrgb(37, 48, 124)
HSLhsl(232, 54%, 32%)
HSVhsv(232, 70%, 49%)
CMYKcmyk(70.2%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.55, 22.43, -44.63)
CIE-LCHlch(23.55, 49.95, 296.69°)
OKLaboklab(34.97% 0.0039 -0.1286)
OKLCHoklch(34.97% 0.129 271.7)
XYZxyz(5.4568, 3.9619, 19.5420)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25307C #7C7125
analogous
#255C7C #25307C #46257C
triadic
#25307C #7C2530 #307C25
tetradic
#25307C #7C255C #7C7125 #257C46
square
#25307C #7C255C #7C7125 #257C46
split-complementary
#25307C #7C4625 #5C7C25
monochromatic
#090C1E #171E4D #25307C #3342AB #5060CB

Accessibility & contrast

On white

11.72
#25307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#25307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25307C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25307C#FFFFFF#000000##FFFFFF
##25307C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25307c;
/* rgb */ color: rgb(37, 48, 124);
/* oklch */ color: oklch(35.0% 0.129 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b68a3',
    500: '#25307c',
    950: '#000000',
  },
}
SCSS
$custom: #25307c;
$custom-light: #6b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25307c",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 232.414,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.12867,
    "h": 271.7
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#25307C
secondary
#AEA24F
accent
#CB4ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25307C

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

Preview Lab → · Contrast checker → · Palette generator →

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